summaryrefslogtreecommitdiff
path: root/noncore/apps/tinykate/tinykate.h
authorharlekin <harlekin>2003-04-10 20:10:36 (UTC)
committer harlekin <harlekin>2003-04-10 20:10:36 (UTC)
commit0740e2ef7132c53ebe29cc3b548647012bc75d05 (patch) (unidiff)
treeeaf9a1fbdf73324743dc1a896e813c6e2675a513 /noncore/apps/tinykate/tinykate.h
parentdbbc4f5122cae1c6d64ce3e6793f4f588075a103 (diff)
downloadopie-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.h12
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
26class QToolButton;
26class QAction; 27class QAction;
27class QPopupMenu; 28class QPopupMenu;
28 29
29class TinyKate : public QMainWindow 30class TinyKate : public QMainWindow
30{ 31{
31Q_OBJECT 32Q_OBJECT
@@ -46,21 +47,14 @@ protected:
46 void open(const QString&); 47 void open(const QString&);
47private: 48private:
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