diff options
author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-01-02 16:33:22 +0000 |
---|---|---|
committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-01-02 16:33:22 +0000 |
commit | 948362b8ee383614e37225d1f1fe0bd66e15b4df (patch) | |
tree | 04f9086a4b1130a36cc2cb55f04132b265460264 /textedit.h | |
parent | added star in tabtitle, if document is changed (diff) | |
download | gpg4usb-948362b8ee383614e37225d1f1fe0bd66e15b4df.tar.gz gpg4usb-948362b8ee383614e37225d1f1fe0bd66e15b4df.zip |
added shortcuts for tab-handling and made different bugfixes
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@422 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'textedit.h')
-rw-r--r-- | textedit.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -41,7 +41,6 @@ class TextEdit : public QWidget Q_OBJECT public: TextEdit(); - void setCurrentFile(const QString &fileName); void loadFile(const QString &fileName); bool maybeSave(); QPlainTextEdit* curTextPage(); @@ -54,11 +53,10 @@ public slots: void print(); void newTab(); void showModified(); + void closeTab(); private: - bool isKey(QString key); QString strippedName(const QString &fullFileName); - QString curFile; int countPage; QTabWidget *tabWidget; bool maybeSaveFile(); |