aboutsummaryrefslogtreecommitdiffstats
path: root/mainwindow.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 /mainwindow.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 'mainwindow.h')
-rw-r--r--mainwindow.h21
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.