diff options
author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2012-02-16 00:25:32 +0000 |
---|---|---|
committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2012-02-16 00:25:32 +0000 |
commit | 9386f76a91b7c34bb105efdecd8326858af4f25b (patch) | |
tree | 1233cbe59e7ca48ac69dd034707ddcee700a5af2 /mainwindow.h | |
parent | added method to disable tab related actions (diff) | |
download | gpg4usb-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 'mainwindow.h')
-rw-r--r-- | mainwindow.h | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/mainwindow.h b/mainwindow.h index cf03c0e..5e380f0 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -164,6 +164,10 @@ private slots: * @details Open integrated help in new tab. */ void openHelp(); + + /** + * @details Open integrated help in new tab with the specified page. + */ void openHelp(const QString page); /** @@ -181,21 +185,28 @@ private slots: */ void cleanDoubleLinebreaks(); + /** + * @details Cut the existing PGP header and footer from current tab. + */ void cutPgpHeader(); + + /** + * @details Add PGP header and footer to current tab. + */ void addPgpHeader(); // void dropEvent(QDropEvent *event); -private: /** - * @details Create actions for the main-menu and the context-menu of the keylist. + * @details Disable tab related actions, if number of tabs is 0. */ - void createActions(); + void disableTabActions(int number); +private: /** - * @details Disable tab related actions, if number of tabs is 0. + * @details Create actions for the main-menu and the context-menu of the keylist. */ - void disableTabActions(int number); + void createActions(); /** * @details create the menu of the main-window. |