author | jowenn <jowenn> | 2002-11-10 21:08:01 (UTC) |
---|---|---|
committer | jowenn <jowenn> | 2002-11-10 21:08:01 (UTC) |
commit | e97a6da57804aa14907dec327fbae71bff9b383e (patch) (unidiff) | |
tree | 15f6ee292dba24bdda72f5c72f6d2224c3516763 /noncore/apps/tinykate/tinykate.h | |
parent | 7c012ee8cd16d8befacc6f6750711443fac0fd5e (diff) | |
download | opie-e97a6da57804aa14907dec327fbae71bff9b383e.zip opie-e97a6da57804aa14907dec327fbae71bff9b383e.tar.gz opie-e97a6da57804aa14907dec327fbae71bff9b383e.tar.bz2 |
import of tiny kate. (saving not possible yet)
Diffstat (limited to 'noncore/apps/tinykate/tinykate.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/tinykate/tinykate.h | 62 |
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 | |||
26 | class QAction; | ||
27 | class QPopupMenu; | ||
28 | |||
29 | class TinyKate : public QMainWindow | ||
30 | { | ||
31 | Q_OBJECT | ||
32 | public: | ||
33 | TinyKate( QWidget *parent=0, const char *name=0, WFlags f = 0); | ||
34 | |||
35 | public slots: | ||
36 | void slotOpen(); | ||
37 | |||
38 | protected slots: | ||
39 | void slotNew(); | ||
40 | void slotClose(); | ||
41 | void slotCurrentChanged(QWidget *); | ||
42 | |||
43 | private: | ||
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__ | ||