Diffstat (limited to 'noncore/apps/tinykate/tinykate.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/tinykate/tinykate.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/apps/tinykate/tinykate.h b/noncore/apps/tinykate/tinykate.h index 7b61bae..bb32f98 100644 --- a/noncore/apps/tinykate/tinykate.h +++ b/noncore/apps/tinykate/tinykate.h | |||
@@ -22,38 +22,39 @@ | |||
22 | #include <qmainwindow.h> | 22 | #include <qmainwindow.h> |
23 | #include <opie/otabwidget.h> | 23 | #include <opie/otabwidget.h> |
24 | #include <ktexteditor.h> | 24 | #include <ktexteditor.h> |
25 | 25 | ||
26 | class QAction; | 26 | class QAction; |
27 | class QPopupMenu; | 27 | class QPopupMenu; |
28 | 28 | ||
29 | class TinyKate : public QMainWindow | 29 | class TinyKate : public QMainWindow |
30 | { | 30 | { |
31 | Q_OBJECT | 31 | Q_OBJECT |
32 | public: | 32 | public: |
33 | TinyKate( QWidget *parent=0, const char *name=0, WFlags f = 0); | 33 | TinyKate( QWidget *parent=0, const char *name=0, WFlags f = 0); |
34 | ~TinyKate( ); | ||
34 | 35 | ||
35 | public slots: | 36 | public slots: |
36 | QString currentFileName; | ||
37 | void slotNew(); | 37 | void slotNew(); |
38 | 38 | ||
39 | protected slots: | 39 | protected slots: |
40 | void slotOpen(); | 40 | void slotOpen(); |
41 | void slotClose(); | 41 | void slotClose(); |
42 | void slotCurrentChanged(QWidget *); | 42 | void slotCurrentChanged(QWidget *); |
43 | void slotSave(); | 43 | void slotSave(); |
44 | void slotSaveAs(); | 44 | void slotSaveAs(); |
45 | protected: | 45 | protected: |
46 | void open(const QString&); | 46 | void open(const QString&); |
47 | private: | 47 | private: |
48 | QString currentFileName; | ||
48 | OTabWidget *tabwidget; | 49 | OTabWidget *tabwidget; |
49 | KTextEditor::View *currentView; | 50 | KTextEditor::View *currentView; |
50 | 51 | ||
51 | QAction *editCopy; | 52 | QAction *editCopy; |
52 | QAction *editCut; | 53 | QAction *editCut; |
53 | QAction *editPaste; | 54 | QAction *editPaste; |
54 | QAction *editUndo; | 55 | QAction *editUndo; |
55 | QAction *editRedo; | 56 | QAction *editRedo; |
56 | QAction *editFindReplace; | 57 | QAction *editFindReplace; |
57 | QAction *viewIncFontSizes; | 58 | QAction *viewIncFontSizes; |
58 | QAction *viewDecFontSizes; | 59 | QAction *viewDecFontSizes; |
59 | QAction *utilSettings; | 60 | QAction *utilSettings; |