From c1e7bbaeb104fd3b595941bb063837f626097970 Mon Sep 17 00:00:00 2001 From: nils Date: Wed, 15 Feb 2012 23:40:52 +0000 Subject: added method to disable tab related actions git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@809 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- mainwindow.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'mainwindow.h') diff --git a/mainwindow.h b/mainwindow.h index d55be93..cf03c0e 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -192,6 +192,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. */ @@ -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 */ -- cgit v1.2.3