- Added settings page for Posted.

- Added new base class for GroupFrame settings for settings pages.
- Moved usage of GroupFrame settings (forum, channel and posted) to base class.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7468 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2014-07-24 14:54:23 +00:00
parent 0bcc8697ef
commit 42e579a294
22 changed files with 377 additions and 122 deletions

View file

@ -27,8 +27,7 @@
#include "PostedListWidget.h"
#include "PostedUserNotify.h"
//#include "gui/channels/ShareKey.h"
//#include "gui/settings/rsharesettings.h"
//#include "gui/notifyqt.h"
#include "gui/settings/rsharesettings.h"
#include <retroshare/rsposted.h>
@ -36,9 +35,6 @@
PostedDialog::PostedDialog(QWidget *parent)
: GxsGroupFrameDialog(rsPosted, parent)
{
// connect(NotifyQt::getInstance(), SIGNAL(settingsChanged()), this, SLOT(settingsChanged()));
settingsChanged();
}
PostedDialog::~PostedDialog()
@ -98,12 +94,6 @@ QString PostedDialog::icon(IconType type)
return "";
}
void PostedDialog::settingsChanged()
{
setSingleTab(true /*!Settings->getPostedOpenAllInNewTab()*/);
setHideTabBarWithOneTab(true /*Settings->getPostedHideTabBarWithOneTab()*/);
}
GxsGroupDialog *PostedDialog::createNewGroupDialog(TokenQueue *tokenQueue)
{
return new PostedGroupDialog(tokenQueue, this);