diff -r 310f1d82cf89 -r c585be63ec69 simplescripteditor.h --- a/simplescripteditor.h Mon Mar 05 23:22:51 2007 +0000 +++ b/simplescripteditor.h Tue Mar 06 19:37:39 2007 +0000 @@ -3,6 +3,8 @@ #include "ui_simplescripteditor.h" +#include "highlighter.h" + class SimpleScriptEditor:public QDialog { Q_OBJECT @@ -10,6 +12,7 @@ public: SimpleScriptEditor (QWidget* parent = 0); void saveScript (); + void setScript(const QString &); public slots: void saveScriptClicked(); @@ -22,6 +25,7 @@ private: Ui::SimpleScriptEditor ui; QString filename; + Highlighter *highlighter; };