author | harlekin <harlekin> | 2003-04-10 20:10:36 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-04-10 20:10:36 (UTC) |
commit | 0740e2ef7132c53ebe29cc3b548647012bc75d05 (patch) (unidiff) | |
tree | eaf9a1fbdf73324743dc1a896e813c6e2675a513 /noncore/apps/tinykate/tinykate.h | |
parent | dbbc4f5122cae1c6d64ce3e6793f4f588075a103 (diff) | |
download | opie-0740e2ef7132c53ebe29cc3b548647012bc75d05.zip opie-0740e2ef7132c53ebe29cc3b548647012bc75d05.tar.gz opie-0740e2ef7132c53ebe29cc3b548647012bc75d05.tar.bz2 |
goodbye qpemenubar and qpetoolbar ( both are depreciated ), using qmenubar now, and also the icons are in the menubar now as qtoolbutton which as side effect gives them the nice benefit if beeing centered to the right
Diffstat (limited to 'noncore/apps/tinykate/tinykate.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/tinykate/tinykate.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/noncore/apps/tinykate/tinykate.h b/noncore/apps/tinykate/tinykate.h index bb32f98..cdd8f43 100644 --- a/noncore/apps/tinykate/tinykate.h +++ b/noncore/apps/tinykate/tinykate.h | |||
@@ -20,12 +20,13 @@ | |||
20 | 20 | ||
21 | 21 | ||
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 QToolButton; | ||
26 | class QAction; | 27 | class QAction; |
27 | class QPopupMenu; | 28 | class QPopupMenu; |
28 | 29 | ||
29 | class TinyKate : public QMainWindow | 30 | class TinyKate : public QMainWindow |
30 | { | 31 | { |
31 | Q_OBJECT | 32 | Q_OBJECT |
@@ -46,21 +47,14 @@ protected: | |||
46 | void open(const QString&); | 47 | void open(const QString&); |
47 | private: | 48 | private: |
48 | QString currentFileName; | 49 | QString currentFileName; |
49 | OTabWidget *tabwidget; | 50 | OTabWidget *tabwidget; |
50 | KTextEditor::View *currentView; | 51 | KTextEditor::View *currentView; |
51 | 52 | ||
52 | QAction *editCopy; | 53 | QToolButton *editCopy, *editCut, *editPaste, *editUndo, *editRedo, *editFindReplace; |
53 | QAction *editCut; | 54 | QAction *viewIncFontSizes, *viewDecFontSizes, *utilSettings; |
54 | QAction *editPaste; | ||
55 | QAction *editUndo; | ||
56 | QAction *editRedo; | ||
57 | QAction *editFindReplace; | ||
58 | QAction *viewIncFontSizes; | ||
59 | QAction *viewDecFontSizes; | ||
60 | QAction *utilSettings; | ||
61 | 55 | ||
62 | QPopupMenu *hlmenu; | 56 | QPopupMenu *hlmenu; |
63 | uint nextUnnamed; | 57 | uint nextUnnamed; |
64 | uint viewCount; | 58 | uint viewCount; |
65 | }; | 59 | }; |
66 | 60 | ||