Diffstat (limited to 'noncore/apps/opie-write/mainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-write/mainwindow.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/apps/opie-write/mainwindow.h b/noncore/apps/opie-write/mainwindow.h index 565ad05..17713d8 100644 --- a/noncore/apps/opie-write/mainwindow.h +++ b/noncore/apps/opie-write/mainwindow.h | |||
@@ -36,27 +36,29 @@ class ButtonMenu; | |||
36 | 36 | ||
37 | namespace Qt3 { | 37 | namespace Qt3 { |
38 | 38 | ||
39 | class QTextEdit; | 39 | class QTextEdit; |
40 | 40 | ||
41 | } | 41 | } |
42 | 42 | ||
43 | class MainWindow : public QMainWindow | 43 | class MainWindow : public QMainWindow |
44 | { | 44 | { |
45 | Q_OBJECT | 45 | Q_OBJECT |
46 | 46 | ||
47 | public: | 47 | public: |
48 | MainWindow( QWidget *parent = 0, const char *name = 0 ); | 48 | MainWindow( QWidget *parent = 0, const char *name = 0 , WFlags fl = 0); |
49 | ~MainWindow(); | 49 | ~MainWindow(); |
50 | 50 | ||
51 | static QString appName() { return QString::fromLatin1("opie-write"); } | ||
52 | |||
51 | protected: | 53 | protected: |
52 | void closeEvent( QCloseEvent *e ); | 54 | void closeEvent( QCloseEvent *e ); |
53 | 55 | ||
54 | private slots: | 56 | private slots: |
55 | // new file functions | 57 | // new file functions |
56 | void fileOpen(); | 58 | void fileOpen(); |
57 | void fileRevert(); | 59 | void fileRevert(); |
58 | void fileNew(); | 60 | void fileNew(); |
59 | 61 | ||
60 | void editUndo(); | 62 | void editUndo(); |
61 | void editRedo(); | 63 | void editRedo(); |
62 | void editCut(); | 64 | void editCut(); |