plugin system: first demo version

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@969 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
beardog_uk 2009-02-01 16:20:15 +00:00
parent 04b2d33430
commit 02f08644ac
2 changed files with 6 additions and 1 deletions

View File

@ -169,6 +169,8 @@ MainWindow::MainWindow(QWidget* parent, Qt::WFlags flags)
/* Create the Main pages and actions */
QActionGroup *grp = new QActionGroup(this);
ui.stackPages->add(pluginsPage = new PluginsPage(ui.stackPages),
createPageAction(QIcon(IMAGE_NETWORK), tr("Plugins"), grp));
NewsFeed *newsFeed = NULL;
ui.stackPages->add(newsFeed = new NewsFeed(ui.stackPages),

View File

@ -38,6 +38,7 @@
#include "StatisticDialog.h"
#include "MessengerWindow.h"
#include "ApplicationWindow.h"
#include "PluginsPage.h"
#include "Preferences/PreferencesWindow.h"
#include "Settings/gsettingswin.h"
@ -76,7 +77,8 @@ public:
Messages, /** Messages page. */
Links, /** Links page. */
Channels, /** Channels page. */
Forums /** Forums page. */
Forums , /** Forums page. */
Plugins
};
@ -103,6 +105,7 @@ public:
//StatisticDialog *statisticDialog;
MessengerWindow *messengerWindow;
ApplicationWindow *applicationWindow;
PluginsPage* pluginsPage ;
SMPlayer * mSMPlayer;