mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-18 12:24:22 -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 */
|
||||
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),
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user