Diffstat (limited to 'noncore/apps/tinykate/tinykate.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/tinykate/tinykate.h | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/noncore/apps/tinykate/tinykate.h b/noncore/apps/tinykate/tinykate.h index 2e8ca74..077d5f0 100644 --- a/noncore/apps/tinykate/tinykate.h +++ b/noncore/apps/tinykate/tinykate.h @@ -22,11 +22,11 @@ #include <qmainwindow.h> #include <opie/otabwidget.h> #include <ktexteditor.h> -class QToolButton; class QAction; class QPopupMenu; +class CGotoLine; class TinyKate : public QMainWindow { Q_OBJECT @@ -35,29 +35,41 @@ public: ~TinyKate( ); public slots: void slotNew(); - void setDocument(const QString& fileref); protected slots: void slotOpen(); void slotClose(); void slotCurrentChanged(QWidget *); void slotSave(); void slotSaveAs(); + void slotGoTo(); + void slotCursorMoved(); + void setDocument(const QString &doc); + protected: void open(const QString&); private: QString currentFileName; OTabWidget *tabwidget; KTextEditor::View *currentView; - - QToolButton *editCopy, *editCut, *editPaste, *editUndo, *editRedo, *editFindReplace; - QAction *viewIncFontSizes, *viewDecFontSizes, *utilSettings; - + + QAction *editCopy; + QAction *editCut; + QAction *editPaste; + QAction *editUndo; + QAction *editRedo; + QAction *editFind; + QAction *editFindReplace; + QAction *viewIncFontSizes; + QAction *viewDecFontSizes; + QAction *utilSettings; + QPopupMenu *hlmenu; uint nextUnnamed; uint viewCount; + int curLine,curCol; }; #endif // __TINYKATE_H__ |