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; namespace Qt3 { class QTextEdit; } class MainWindow : public QMainWindow { Q_OBJECT public: - MainWindow( QWidget *parent = 0, const char *name = 0 ); + MainWindow( QWidget *parent = 0, const char *name = 0 , WFlags fl = 0); ~MainWindow(); + static QString appName() { return QString::fromLatin1("opie-write"); } + protected: void closeEvent( QCloseEvent *e ); private slots: // new file functions void fileOpen(); void fileRevert(); void fileNew(); void editUndo(); void editRedo(); void editCut(); |