mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-25 17:21:05 -04:00
Reworked notification code in system tray.
Added a base class and a possibility for the main dialogs and the plugins (derived from MainPage) to provide a notifier. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5381 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
049b4bd577
commit
b21e66241b
30 changed files with 1040 additions and 539 deletions
|
@ -31,6 +31,7 @@
|
|||
#include "forums/CreateForumMsg.h"
|
||||
#include "forums/ForumDetails.h"
|
||||
#include "forums/EditForumDetails.h"
|
||||
#include "forums/ForumUserNotify.h"
|
||||
#include "msgs/MessageComposer.h"
|
||||
#include "settings/rsharesettings.h"
|
||||
#include "common/Emoticons.h"
|
||||
|
@ -237,6 +238,11 @@ ForumsDialog::~ForumsDialog()
|
|||
processSettings(false);
|
||||
}
|
||||
|
||||
UserNotify *ForumsDialog::getUserNotify(QObject *parent)
|
||||
{
|
||||
return new ForumUserNotify(parent);
|
||||
}
|
||||
|
||||
void ForumsDialog::processSettings(bool bLoad)
|
||||
{
|
||||
m_bProcessSettings = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue