mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-20 20:08:30 -04:00
Added blinking of the chat icon for private chat window and chat lobby.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5722 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
179618edbf
commit
7272b7e768
8 changed files with 103 additions and 23 deletions
|
@ -28,7 +28,6 @@
|
|||
class QToolBar;
|
||||
class QToolButton;
|
||||
class QAction;
|
||||
class QTimer;
|
||||
|
||||
class UserNotify : public QObject
|
||||
{
|
||||
|
@ -53,7 +52,7 @@ public slots:
|
|||
|
||||
private slots:
|
||||
void trayIconClicked(QSystemTrayIcon::ActivationReason e = QSystemTrayIcon::Trigger);
|
||||
void timer();
|
||||
void blink(bool on);
|
||||
|
||||
private:
|
||||
virtual QIcon getIcon() { return QIcon(); }
|
||||
|
@ -72,7 +71,6 @@ private:
|
|||
QAction *mNotifyIcon;
|
||||
unsigned int mNewCount;
|
||||
QString mButtonText;
|
||||
QTimer *mTimer;
|
||||
bool mLastBlinking;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue