mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-10 01:55:19 -04:00
New icon in system tray and a new icon with star in toolbar of MainWindow, when new forum messages are available.
New signal forumsChanged on NotifyQt. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3354 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
32afd370bb
commit
3cfc08482f
14 changed files with 220 additions and 27 deletions
|
@ -142,6 +142,7 @@ public slots:
|
|||
void displayDiskSpaceWarning(int loc,int size_limit_mb) ;
|
||||
void checkAndSetIdle(int idleTime);
|
||||
void updateMessages();
|
||||
void updateForums();
|
||||
|
||||
protected:
|
||||
/** Default Constructor */
|
||||
|
@ -160,6 +161,7 @@ private slots:
|
|||
void toggleVisibility(QSystemTrayIcon::ActivationReason e);
|
||||
void toggleVisibilitycontextmenu();
|
||||
void trayIconMessagesClicked(QSystemTrayIcon::ActivationReason e);
|
||||
void trayIconForumsClicked(QSystemTrayIcon::ActivationReason e);
|
||||
|
||||
/** Toolbar fns. */
|
||||
void addFriend();
|
||||
|
@ -222,6 +224,7 @@ private:
|
|||
|
||||
QSystemTrayIcon *trayIcon;
|
||||
QSystemTrayIcon *trayIconMessages;
|
||||
QSystemTrayIcon *trayIconForums;
|
||||
QAction *toggleVisibilityAction, *toolAct;
|
||||
QMenu *trayMenu;
|
||||
|
||||
|
@ -232,7 +235,8 @@ private:
|
|||
|
||||
QLabel *_hashing_info_label ;
|
||||
|
||||
QAction *messageAction ;
|
||||
QAction *messageAction;
|
||||
QAction *forumAction;
|
||||
|
||||
/* Status */
|
||||
std::set <QObject*> m_apStatusObjects; // added objects for status
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue