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) (side-by-side diff)
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
@@ -14,24 +14,25 @@
* ONLY VERSION 2 OF THE LICENSE IS APPLICABLE *
* *
***************************************************************************/
#ifndef __TINYKATE_H__
#define __TINYKATE_H__
#include <qmainwindow.h>
#include <opie/otabwidget.h>
#include <ktexteditor.h>
+class QToolButton;
class QAction;
class QPopupMenu;
class TinyKate : public QMainWindow
{
Q_OBJECT
public:
TinyKate( QWidget *parent=0, const char *name=0, WFlags f = 0);
~TinyKate( );
public slots:
void slotNew();
@@ -40,29 +41,22 @@ protected slots:
void slotOpen();
void slotClose();
void slotCurrentChanged(QWidget *);
void slotSave();
void slotSaveAs();
protected:
void open(const QString&);
private:
QString currentFileName;
OTabWidget *tabwidget;
KTextEditor::View *currentView;
- QAction *editCopy;
- QAction *editCut;
- QAction *editPaste;
- QAction *editUndo;
- QAction *editRedo;
- QAction *editFindReplace;
- QAction *viewIncFontSizes;
- QAction *viewDecFontSizes;
- QAction *utilSettings;
+ QToolButton *editCopy, *editCut, *editPaste, *editUndo, *editRedo, *editFindReplace;
+ QAction *viewIncFontSizes, *viewDecFontSizes, *utilSettings;
QPopupMenu *hlmenu;
uint nextUnnamed;
uint viewCount;
};
#endif // __TINYKATE_H__