diff options
author | ubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-01-05 22:38:10 +0000 |
---|---|---|
committer | ubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-01-05 22:38:10 +0000 |
commit | 6068b3e6942867f0d7e1f6863a0cfafa5e1d1d0c (patch) | |
tree | 06c29988e24344cf86b9a5a1cf4ac6a4a8d04aa0 /textedit.h | |
parent | check all tabs for unsaved changes, show dialog if this is the case (diff) | |
download | gpg4usb-6068b3e6942867f0d7e1f6863a0cfafa5e1d1d0c.tar.gz gpg4usb-6068b3e6942867f0d7e1f6863a0cfafa5e1d1d0c.zip |
maybe save for anytab and current tab works now
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@435 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'textedit.h')
-rw-r--r-- | textedit.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -42,7 +42,8 @@ class TextEdit : public QWidget public: TextEdit(); void loadFile(const QString &fileName); - bool maybeSave(); + bool maybeSaveAnyTab(); + bool maybeSaveCurrentTab(); QPlainTextEdit* curTextPage(); public slots: |