From 10c70da34595b0ada0519bcc8e8b8be0cd4282cb Mon Sep 17 00:00:00 2001 From: ubbo Date: Thu, 3 Nov 2011 21:28:11 +0000 Subject: first tray with minimal functionality - close ;-) git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@597 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- mainwindow.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'mainwindow.h') diff --git a/mainwindow.h b/mainwindow.h index f2281a1..21939e0 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -192,6 +192,12 @@ private: */ void createDockWindows(); + /** + * @details Create icon for system tray + */ + void createTrayIcon(); + void showTrayMessage(QString title, QString body); + /** * @details Create attachment-dockwindow. */ @@ -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 */ -- cgit v1.2.3