mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-19 12:54:24 -05:00
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:
parent
04b2d33430
commit
02f08644ac
@ -169,6 +169,8 @@ MainWindow::MainWindow(QWidget* parent, Qt::WFlags flags)
|
|||||||
/* Create the Main pages and actions */
|
/* Create the Main pages and actions */
|
||||||
QActionGroup *grp = new QActionGroup(this);
|
QActionGroup *grp = new QActionGroup(this);
|
||||||
|
|
||||||
|
ui.stackPages->add(pluginsPage = new PluginsPage(ui.stackPages),
|
||||||
|
createPageAction(QIcon(IMAGE_NETWORK), tr("Plugins"), grp));
|
||||||
|
|
||||||
NewsFeed *newsFeed = NULL;
|
NewsFeed *newsFeed = NULL;
|
||||||
ui.stackPages->add(newsFeed = new NewsFeed(ui.stackPages),
|
ui.stackPages->add(newsFeed = new NewsFeed(ui.stackPages),
|
||||||
|
@ -38,6 +38,7 @@
|
|||||||
#include "StatisticDialog.h"
|
#include "StatisticDialog.h"
|
||||||
#include "MessengerWindow.h"
|
#include "MessengerWindow.h"
|
||||||
#include "ApplicationWindow.h"
|
#include "ApplicationWindow.h"
|
||||||
|
#include "PluginsPage.h"
|
||||||
|
|
||||||
#include "Preferences/PreferencesWindow.h"
|
#include "Preferences/PreferencesWindow.h"
|
||||||
#include "Settings/gsettingswin.h"
|
#include "Settings/gsettingswin.h"
|
||||||
@ -76,7 +77,8 @@ public:
|
|||||||
Messages, /** Messages page. */
|
Messages, /** Messages page. */
|
||||||
Links, /** Links page. */
|
Links, /** Links page. */
|
||||||
Channels, /** Channels page. */
|
Channels, /** Channels page. */
|
||||||
Forums /** Forums page. */
|
Forums , /** Forums page. */
|
||||||
|
Plugins
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -103,6 +105,7 @@ public:
|
|||||||
//StatisticDialog *statisticDialog;
|
//StatisticDialog *statisticDialog;
|
||||||
MessengerWindow *messengerWindow;
|
MessengerWindow *messengerWindow;
|
||||||
ApplicationWindow *applicationWindow;
|
ApplicationWindow *applicationWindow;
|
||||||
|
PluginsPage* pluginsPage ;
|
||||||
|
|
||||||
SMPlayer * mSMPlayer;
|
SMPlayer * mSMPlayer;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user