#ifndef TRAYICO_H #define TRAYICO_H #include "LanPaper.h" #include #include #include class TrayIco : public QObject { Q_OBJECT public: explicit TrayIco(QObject *parent = 0); void setFlash(bool); private: void timerEvent(QTimerEvent *); private: QSystemTrayIcon trayIco; QIcon normalIcon; QIcon flashIcon; int timer; bool flashFlag; signals: public slots: private slots: void activated(QSystemTrayIcon::ActivationReason); }; #endif // TRAYICO_H