mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-22 15:51:29 -04:00
Removed Forums / Channels / Blogs stuff.
and made GUI recompile. git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6702 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
561cfcf189
commit
683e75aeef
84 changed files with 160 additions and 17419 deletions
|
@ -48,12 +48,12 @@
|
|||
#include "NewsFeed.h"
|
||||
#include "ShareManager.h"
|
||||
#include "NetworkView.h"
|
||||
#include "ForumsDialog.h"
|
||||
//#include "ForumsDialog.h"
|
||||
#include "FriendsDialog.h"
|
||||
#include "ChatLobbyWidget.h"
|
||||
#include "HelpDialog.h"
|
||||
#include "AboutDialog.h"
|
||||
#include "ChannelFeed.h"
|
||||
//#include "ChannelFeed.h"
|
||||
#include "bwgraph/bwgraph.h"
|
||||
#include "help/browser/helpbrowser.h"
|
||||
#include "chat/ChatDialog.h"
|
||||
|
@ -87,8 +87,6 @@
|
|||
#include <retroshare/rsiface.h>
|
||||
#include <retroshare/rspeers.h>
|
||||
#include <retroshare/rsfiles.h>
|
||||
#include <retroshare/rsforums.h>
|
||||
#include <retroshare/rschannels.h>
|
||||
#include <retroshare/rsnotify.h>
|
||||
|
||||
#include "gui/connect/ConnectFriendWizard.h"
|
||||
|
@ -267,17 +265,21 @@ MainWindow::MainWindow(QWidget* parent, Qt::WFlags flags)
|
|||
action = createPageAction(QIcon(IMAGE_MESSAGES), tr("Messages"), grp));
|
||||
notify.push_back(QPair<MainPage*, QAction*>(messagesDialog, action));
|
||||
|
||||
#if 0
|
||||
ui->stackPages->add(channelFeed = new ChannelFeed(ui->stackPages),
|
||||
action = createPageAction(QIcon(IMAGE_CHANNELS), tr("Channels"), grp));
|
||||
notify.push_back(QPair<MainPage*, QAction*>(channelFeed, action));
|
||||
#endif
|
||||
|
||||
#ifdef BLOGS
|
||||
ui->stackPages->add(blogsFeed = new BlogsDialog(ui->stackPages), createPageAction(QIcon(IMAGE_BLOGS), tr("Blogs"), grp));
|
||||
#endif
|
||||
|
||||
|
||||
#if 0
|
||||
ui->stackPages->add(forumsDialog = new ForumsDialog(ui->stackPages),
|
||||
action = createPageAction(QIcon(IMAGE_FORUMS), tr("Forums"), grp));
|
||||
notify.push_back(QPair<MainPage*, QAction*>(forumsDialog, action));
|
||||
#endif
|
||||
|
||||
std::cerr << "Looking for interfaces in existing plugins:" << std::endl;
|
||||
for(int i = 0;i<rsPlugins->nbPlugins();++i)
|
||||
|
@ -815,12 +817,14 @@ void SetForegroundWindowInternal(HWND hWnd)
|
|||
case Messages:
|
||||
_instance->ui->stackPages->setCurrentPage( _instance->messagesDialog );
|
||||
break;
|
||||
#if 0
|
||||
case Channels:
|
||||
_instance->ui->stackPages->setCurrentPage( _instance->channelFeed );
|
||||
return true ;
|
||||
case Forums:
|
||||
_instance->ui->stackPages->setCurrentPage( _instance->forumsDialog );
|
||||
return true ;
|
||||
#endif
|
||||
#ifdef BLOGS
|
||||
case Blogs:
|
||||
Page = _instance->blogsFeed;
|
||||
|
@ -865,12 +869,14 @@ void SetForegroundWindowInternal(HWND hWnd)
|
|||
return Links;
|
||||
}
|
||||
#endif
|
||||
#if 0
|
||||
if (page == _instance->channelFeed) {
|
||||
return Channels;
|
||||
}
|
||||
if (page == _instance->forumsDialog) {
|
||||
return Forums;
|
||||
}
|
||||
#endif
|
||||
#ifdef BLOGS
|
||||
if (page == _instance->blogsFeed) {
|
||||
return Blogs;
|
||||
|
@ -907,10 +913,12 @@ void SetForegroundWindowInternal(HWND hWnd)
|
|||
case Links:
|
||||
return _instance->linksDialog;
|
||||
#endif
|
||||
#if 0
|
||||
case Channels:
|
||||
return _instance->channelFeed;
|
||||
case Forums:
|
||||
return _instance->forumsDialog;
|
||||
#endif
|
||||
#ifdef BLOGS
|
||||
case Blogs:
|
||||
return _instance->blogsFeed;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue