From 9386f76a91b7c34bb105efdecd8326858af4f25b Mon Sep 17 00:00:00 2001 From: nils Date: Thu, 16 Feb 2012 00:25:32 +0000 Subject: 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 --- textedit.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'textedit.h') diff --git a/textedit.h b/textedit.h index 5a02e85..0b471e8 100644 --- a/textedit.h +++ b/textedit.h @@ -88,6 +88,8 @@ public: */ QHash 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: /** -- cgit v1.2.3