Added CreateGroup Dialog

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3519 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-09-21 16:11:19 +00:00
parent 1352b27e7a
commit ad9f981ab0
10 changed files with 322 additions and 2 deletions

View file

@ -53,6 +53,7 @@
#include "connect/ConnectFriendWizard.h"
#include "forums/CreateForum.h"
#include "channels/CreateChannel.h"
#include "groups/CreateGroup.h"
#include "feeds/AttachFileItem.h"
#include "im_history/ImHistoryBrowser.h"
#include "common/RSTreeWidgetItem.h"
@ -189,6 +190,8 @@ PeersDialog::PeersDialog(QWidget *parent)
QMenu *menu = new QMenu();
menu->addAction(ui.actionAdd_Friend);
menu->addAction(ui.actionAdd_Group);
menu->addSeparator();
menu->addAction(ui.actionCreate_New_Forum);
#ifndef RS_RELEASE_VERSION
@ -1712,3 +1715,9 @@ void PeersDialog::on_actionMessageHistory_triggered()
ImHistoryBrowser imBrowser(false, historyKeeper, ui.lineEdit, this);
imBrowser.exec();
}
void PeersDialog::on_actionAdd_Group_activated()
{
CreateGroup createGrpDialog (this);
createGrpDialog.exec();
}