mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-09 09:35:32 -04:00
Added simple toaster for download complete.
Added new icon in MainWindow and systray icon for existing completed downloads. You can enable/disable the toaster and the systray icon in NotifyPage. Recompile of the GUI needed. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3868 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
e7813892bc
commit
fc08d1171f
22 changed files with 656 additions and 70 deletions
|
@ -145,6 +145,7 @@ public slots:
|
|||
void updateMessages();
|
||||
void updateForums();
|
||||
void updateChannels(int type);
|
||||
void updateTransfers(int count);
|
||||
void privateChatChanged(int list, int type);
|
||||
|
||||
protected:
|
||||
|
@ -167,6 +168,7 @@ private slots:
|
|||
void trayIconForumsClicked(QSystemTrayIcon::ActivationReason e);
|
||||
void trayIconChannelsClicked(QSystemTrayIcon::ActivationReason e);
|
||||
void trayIconChatClicked(QSystemTrayIcon::ActivationReason e);
|
||||
void trayIconTransfersClicked(QSystemTrayIcon::ActivationReason e);
|
||||
|
||||
/** Toolbar fns. */
|
||||
void addFriend();
|
||||
|
@ -233,6 +235,7 @@ private:
|
|||
QSystemTrayIcon *trayIconForums;
|
||||
QSystemTrayIcon *trayIconChannels;
|
||||
QSystemTrayIcon *trayIconChat;
|
||||
QSystemTrayIcon *trayIconTransfers;
|
||||
QAction *toggleVisibilityAction, *toolAct;
|
||||
QMenu *trayMenu;
|
||||
|
||||
|
@ -246,6 +249,7 @@ private:
|
|||
QAction *messageAction;
|
||||
QAction *forumAction;
|
||||
QAction *channelAction;
|
||||
QAction *transferAction;
|
||||
|
||||
/* Status */
|
||||
std::set <QObject*> m_apStatusObjects; // added objects for status
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue