1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#pragma once #include "Swift/Controllers/SystemTray.h" #include <QSystemTrayIcon> class QIcon; namespace Swift { class QtSystemTray : public SystemTray { public: QtSystemTray(); ~QtSystemTray(); void setUnreadMessages(bool some); private: QSystemTrayIcon* trayIcon_; QIcon standardIcon_; QIcon newMessageIcon_; }; }