summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI/QtSystemTray.h')
-rw-r--r--Swift/QtUI/QtSystemTray.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/Swift/QtUI/QtSystemTray.h b/Swift/QtUI/QtSystemTray.h
index 9fb699f..136dd4c 100644
--- a/Swift/QtUI/QtSystemTray.h
+++ b/Swift/QtUI/QtSystemTray.h
@@ -19,13 +19,19 @@ namespace Swift {
QtSystemTray();
~QtSystemTray();
void setUnreadMessages(bool some);
+ void setStatusType(StatusShow::Type type);
signals:
void clicked();
private slots:
void handleIconActivated(QSystemTrayIcon::ActivationReason reason);
private:
+ void updateStatusIcon();
+ StatusShow::Type statusType_;
QSystemTrayIcon* trayIcon_;
- QIcon standardIcon_;
+ QIcon onlineIcon_;
+ QIcon awayIcon_;
+ QIcon dndIcon_;
+ QIcon offlineIcon_;
QIcon newMessageIcon_;
};
}