aboutsummaryrefslogtreecommitdiffstats
path: root/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'mainwindow.h')
-rw-r--r--mainwindow.h9
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 */