Changeset View
Changeset View
Standalone View
Standalone View
src/plugins/scripting/kexiscripting/kexiscripteditor.h
Show First 20 Lines • Show All 56 Lines • ▼ Show 20 Line(s) | 41 | public: | |||
---|---|---|---|---|---|
57 | bool isInitialized() const; | 57 | bool isInitialized() const; | ||
58 | 58 | | |||
59 | /** | 59 | /** | ||
60 | * Initializes the editor. Call this if you like to start | 60 | * Initializes the editor. Call this if you like to start | ||
61 | * with a clear editor instance. Thinks like the language | 61 | * with a clear editor instance. Thinks like the language | ||
62 | * highlighter will be reset, undo/redo are cleared and | 62 | * highlighter will be reset, undo/redo are cleared and | ||
63 | * setDirty(false) is set. | 63 | * setDirty(false) is set. | ||
64 | */ | 64 | */ | ||
65 | void initialize(Kross::Action* scriptaction); | 65 | void initialize(const QString &scriptProgram); | ||
66 | 66 | | |||
67 | public Q_SLOTS: | 67 | public Q_SLOTS: | ||
68 | void slotTextChanged(); | 68 | void slotTextChanged(); | ||
69 | void setLineNo(long); | 69 | void setLineNo(long); | ||
70 | 70 | | |||
71 | private: | 71 | private: | ||
72 | /// \internal d-pointer class. | 72 | /// \internal d-pointer class. | ||
73 | class Private; | 73 | class Private; | ||
74 | /// \internal d-pointer instance. | 74 | /// \internal d-pointer instance. | ||
75 | Private* const d; | 75 | Private* const d; | ||
76 | }; | 76 | }; | ||
77 | 77 | | |||
78 | #endif | 78 | #endif |