summaryrefslogtreecommitdiff
path: root/noncore/apps/tinykate/tinykate.h
Unidiff
Diffstat (limited to 'noncore/apps/tinykate/tinykate.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/tinykate/tinykate.h62
1 files changed, 62 insertions, 0 deletions
diff --git a/noncore/apps/tinykate/tinykate.h b/noncore/apps/tinykate/tinykate.h
new file mode 100644
index 0000000..6dda05d
--- a/dev/null
+++ b/noncore/apps/tinykate/tinykate.h
@@ -0,0 +1,62 @@
1/***************************************************************************
2 tinykate.h
3 Tiny KATE mainwindow
4 -------------------
5 begin : November 2002
6 copyright : (C) 2002 by Joseph Wenninger <jowenn@kde.org>
7 ***************************************************************************/
8
9/***************************************************************************
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation. *
14 * ONLY VERSION 2 OF THE LICENSE IS APPLICABLE *
15 * *
16 ***************************************************************************/
17
18#ifndef __TINYKATE_H__
19#define __TINYKATE_H__
20
21
22#include <qmainwindow.h>
23#include <opie/otabwidget.h>
24#include <ktexteditor.h>
25
26class QAction;
27class QPopupMenu;
28
29class TinyKate : public QMainWindow
30{
31Q_OBJECT
32public:
33 TinyKate( QWidget *parent=0, const char *name=0, WFlags f = 0);
34
35public slots:
36 void slotOpen();
37
38protected slots:
39 void slotNew();
40 void slotClose();
41 void slotCurrentChanged(QWidget *);
42
43private:
44 OTabWidget *tabwidget;
45 KTextEditor::View *currentView;
46
47 QAction *editCopy;
48 QAction *editCut;
49 QAction *editPaste;
50 QAction *editUndo;
51 QAction *editRedo;
52 QAction *editFindReplace;
53 QAction *viewIncFontSizes;
54 QAction *viewDecFontSizes;
55 QAction *utilSettings;
56
57 QPopupMenu *hlmenu;
58
59};
60
61
62#endif // __TINYKATE_H__