diff options
author | ubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-11-03 21:28:11 +0000 |
---|---|---|
committer | ubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-11-03 21:28:11 +0000 |
commit | 10c70da34595b0ada0519bcc8e8b8be0cd4282cb (patch) | |
tree | c7994a0c290cd1135c54df4bc664f6c09f8d3f66 /mainwindow.h | |
parent | added wizardpage for importing keyrings from gnupg homedir. But getting gnupg... (diff) | |
download | gpg4usb-10c70da34595b0ada0519bcc8e8b8be0cd4282cb.tar.gz gpg4usb-10c70da34595b0ada0519bcc8e8b8be0cd4282cb.zip |
first tray with minimal functionality - close ;-)
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@597 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'mainwindow.h')
-rw-r--r-- | mainwindow.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mainwindow.h b/mainwindow.h index f2281a1..21939e0 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -193,6 +193,12 @@ private: void createDockWindows(); /** + * @details Create icon for system tray + */ + void createTrayIcon(); + void showTrayMessage(QString title, QString body); + + /** * @details Create attachment-dockwindow. */ void createAttachmentDock(); @@ -234,6 +240,9 @@ private: QDockWidget *attachmentDock; /** Attachment Dock */ QDialog *genkeyDialog; /** Dialog for key generation */ + QSystemTrayIcon *trayIcon; + QMenu *trayIconMenu; + QAction *newTabAct; /** Action to create new tab */ QAction *switchTabUpAct; /** Action to switch tab up*/ QAction *switchTabDownAct; /** Action to switch tab down */ |