author | paule <paule> | 2007-01-13 07:34:07 (UTC) |
---|---|---|
committer | paule <paule> | 2007-01-13 07:34:07 (UTC) |
commit | b1075202780c1d807c9d9f5286a2ffa7714bae51 (patch) (side-by-side diff) | |
tree | 6d37dc6d7f7b45d39f7f379c8654fd085d63e895 /noncore/apps/tinykate/mainwindow/tinykate.h | |
parent | ee43ea083b2abea078507677ee30c7af88d248c4 (diff) | |
download | opie-b1075202780c1d807c9d9f5286a2ffa7714bae51.zip opie-b1075202780c1d807c9d9f5286a2ffa7714bae51.tar.gz opie-b1075202780c1d807c9d9f5286a2ffa7714bae51.tar.bz2 |
Prompt user to save on closing a modified file; prompt user on Save As if specified file already exists; change tab to show filename when saving a new file
Diffstat (limited to 'noncore/apps/tinykate/mainwindow/tinykate.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/tinykate/mainwindow/tinykate.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/noncore/apps/tinykate/mainwindow/tinykate.h b/noncore/apps/tinykate/mainwindow/tinykate.h index 6e95d87..7d0c588 100644 --- a/noncore/apps/tinykate/mainwindow/tinykate.h +++ b/noncore/apps/tinykate/mainwindow/tinykate.h @@ -48,6 +48,11 @@ protected slots: void slotSaveAs(); protected: void open(const QString&); + bool closeDocument(); + bool checkSave(); + bool saveDocument(); + bool saveDocumentAs(); + void closeEvent(QCloseEvent *e); private: QString currentFileName; Opie::Ui::OTabWidget *tabwidget; |