mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-23 16:21:29 -04:00
Add a new Channel Page in settings (Patch from Phenom)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7355 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
78f3ab21fd
commit
097ba1655d
9 changed files with 196 additions and 24 deletions
|
@ -24,6 +24,8 @@
|
|||
#include "GxsChannelPostsWidget.h"
|
||||
#include "gui/channels/ShareKey.h"
|
||||
#include "gui/feeds/GxsChannelPostItem.h"
|
||||
#include "gui/settings/rsharesettings.h"
|
||||
#include "gui/notifyqt.h"
|
||||
|
||||
/****
|
||||
* #define DEBUG_CHANNEL
|
||||
|
@ -33,14 +35,20 @@
|
|||
GxsChannelDialog::GxsChannelDialog(QWidget *parent)
|
||||
: GxsGroupFrameDialog(rsGxsChannels, parent)
|
||||
{
|
||||
//#TODO: add settings like forums
|
||||
setSingleTab(true);
|
||||
connect(NotifyQt::getInstance(), SIGNAL(settingsChanged()), this, SLOT(settingsChanged()));
|
||||
|
||||
settingsChanged();
|
||||
}
|
||||
|
||||
GxsChannelDialog::~GxsChannelDialog()
|
||||
{
|
||||
}
|
||||
|
||||
//UserNotify *GxsChannelDialog::getUserNotify(QObject *parent)
|
||||
//{
|
||||
// return new ChannelUserNotify(parent);
|
||||
//}
|
||||
|
||||
QString GxsChannelDialog::text(TextType type)
|
||||
{
|
||||
switch (type) {
|
||||
|
@ -94,10 +102,10 @@ QString GxsChannelDialog::icon(IconType type)
|
|||
return "";
|
||||
}
|
||||
|
||||
//UserNotify *GxsChannelDialog::getUserNotify(QObject *parent)
|
||||
//{
|
||||
// return new ChannelUserNotify(parent);
|
||||
//}
|
||||
void GxsChannelDialog::settingsChanged()
|
||||
{
|
||||
setSingleTab(!Settings->getChannelOpenAllInNewTab());
|
||||
}
|
||||
|
||||
GxsGroupDialog *GxsChannelDialog::createNewGroupDialog(TokenQueue *tokenQueue)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue