aboutsummaryrefslogtreecommitdiffstats
path: root/textedit.h
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-02-16 00:25:32 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-02-16 00:25:32 +0000
commit9386f76a91b7c34bb105efdecd8326858af4f25b (patch)
tree1233cbe59e7ca48ac69dd034707ddcee700a5af2 /textedit.h
parentadded method to disable tab related actions (diff)
downloadgpg4usb-9386f76a91b7c34bb105efdecd8326858af4f25b.tar.gz
gpg4usb-9386f76a91b7c34bb105efdecd8326858af4f25b.zip
disable appropraite actiosn, when no tab is shown (but actions are only disabled in toolbars, not in menu)
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@810 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 5a02e85..0b471e8 100644
--- a/textedit.h
+++ b/textedit.h
@@ -88,6 +88,8 @@ public:
*/
QHash<int, QString> unsavedDocuments();
+ QTabWidget *tabWidget; /** Widget containing the tabs of the editor */
+
public slots:
/**
* @details Insert a ">" at the begining of every line of current textedit.
@@ -195,7 +197,6 @@ private:
* Description: int cotaining the number of added tabs
*/
int countPage; /* TODO */
- QTabWidget *tabWidget; /** Widget containing the tabs of the editor */
private slots:
/**