aboutsummaryrefslogtreecommitdiffstats
path: root/mainwindow.h
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-02-15 23:40:52 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-02-15 23:40:52 +0000
commitc1e7bbaeb104fd3b595941bb063837f626097970 (patch)
treeb3a8507c714139ee286a85a3a469dc11bad8cf68 /mainwindow.h
parentupdated qt translation files for windows (diff)
downloadgpg4usb-c1e7bbaeb104fd3b595941bb063837f626097970.tar.gz
gpg4usb-c1e7bbaeb104fd3b595941bb063837f626097970.zip
added method to disable tab related actions
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@809 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'mainwindow.h')
-rw-r--r--mainwindow.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/mainwindow.h b/mainwindow.h
index d55be93..cf03c0e 100644
--- a/mainwindow.h
+++ b/mainwindow.h
@@ -193,6 +193,11 @@ private:
void createActions();
/**
+ * @details Disable tab related actions, if number of tabs is 0.
+ */
+ void disableTabActions(int number);
+
+ /**
* @details create the menu of the main-window.
*/
void createMenus();
@@ -297,6 +302,8 @@ private:
QAction *openHelpAct; /** Action to open tutorial */
QAction *showKeyDetailsAct; /** Action to open key-details dialog */
QAction *startWizardAct; /** Action to open the wizard */
+ QAction *cutPgpHeaderAct; /** Action for cutting the PGP header */
+ QAction *addPgpHeaderAct; /** Action for adding the PGP header */
QLineEdit *nameEdit; /**< TODO */
QLineEdit *emailEdit; /**< TODO */