mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-12 16:15:43 -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
|
@ -42,6 +42,7 @@
|
|||
#include "common/vmessagebox.h"
|
||||
#include "common/PeerDefs.h"
|
||||
#include "chat/ChatDialog.h"
|
||||
#include "chat/ChatUserNotify.h"
|
||||
#include "connect/ConfCertDialog.h"
|
||||
#include "connect/ConnectFriendWizard.h"
|
||||
#include "forums/CreateForum.h"
|
||||
|
@ -230,6 +231,11 @@ FriendsDialog::~FriendsDialog ()
|
|||
}
|
||||
}
|
||||
|
||||
UserNotify *FriendsDialog::getUserNotify(QObject *parent)
|
||||
{
|
||||
return new ChatUserNotify(parent);
|
||||
}
|
||||
|
||||
void FriendsDialog::processSettings(bool bLoad)
|
||||
{
|
||||
Settings->beginGroup(QString("FriendsDialog"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue