aboutsummaryrefslogtreecommitdiffstats
path: root/textedit.h
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-01-02 16:33:22 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-01-02 16:33:22 +0000
commit948362b8ee383614e37225d1f1fe0bd66e15b4df (patch)
tree04f9086a4b1130a36cc2cb55f04132b265460264 /textedit.h
parentadded star in tabtitle, if document is changed (diff)
downloadgpg4usb-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.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/textedit.h b/textedit.h
index 5ee9931..5e61721 100644
--- a/textedit.h
+++ b/textedit.h
@@ -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();