aboutsummaryrefslogtreecommitdiffstats
path: root/textedit.h
diff options
context:
space:
mode:
authorubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-01-05 22:38:10 +0000
committerubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-01-05 22:38:10 +0000
commit6068b3e6942867f0d7e1f6863a0cfafa5e1d1d0c (patch)
tree06c29988e24344cf86b9a5a1cf4ac6a4a8d04aa0 /textedit.h
parentcheck all tabs for unsaved changes, show dialog if this is the case (diff)
downloadgpg4usb-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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/textedit.h b/textedit.h
index 5d6c1da..39ed9e9 100644
--- a/textedit.h
+++ b/textedit.h
@@ -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: