mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-12 19:12:28 -04:00
- 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:
parent
0bcc8697ef
commit
42e579a294
22 changed files with 377 additions and 122 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue