aboutsummaryrefslogtreecommitdiffstats
path: root/textedit.h
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-01-21 17:30:55 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-01-21 17:30:55 +0000
commit288b8c64e81cc1bb56bc591017c7df19aaa60998 (patch)
tree345f1fd14250be1cf26ac0ace8c5fde2aca8045b /textedit.h
parentnow saving multiple documents is nearly fine, but asking to save every single... (diff)
downloadgpg4usb-288b8c64e81cc1bb56bc591017c7df19aaa60998.tar.gz
gpg4usb-288b8c64e81cc1bb56bc591017c7df19aaa60998.zip
cleaned up a little
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@442 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'textedit.h')
-rw-r--r--textedit.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/textedit.h b/textedit.h
index 3a66175..091ce9d 100644
--- a/textedit.h
+++ b/textedit.h
@@ -45,7 +45,6 @@ public:
bool maybeSaveAnyTab();
bool maybeSaveCurrentTab();
QPlainTextEdit* curTextPage();
- int getUnsavedDocumentsNumber();
QHash<int, QString> unsavedDocuments();
public slots:
@@ -68,7 +67,6 @@ private:
QString mIconPath;
int countPage;
QTabWidget *tabWidget;
- bool saveTab(int i);
private slots:
void removeTab(int index);
@@ -80,9 +78,8 @@ private slots:
void selectAll();
protected:
- void dragEnterEvent(QDragEnterEvent *event);
- void dropEvent(QDropEvent* event);
+// void dragEnterEvent(QDragEnterEvent *event);
+// void dropEvent(QDropEvent* event);
bool saveFile(const QString &fileName);
- bool closeFile();
};
#endif // TEXTEDIT