mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-01 02:36:23 -04:00
Improvement to plugin system:
- made config page system more automatic, to allow addign config pages from plugins - added (disabled) checkbox and function to allow all plugins for development - added config page methods to RsPlugin class git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4957 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
13283b40ee
commit
5679a30e67
25 changed files with 220 additions and 300 deletions
|
@ -24,7 +24,7 @@
|
|||
|
||||
#include <QFileDialog>
|
||||
|
||||
#include "configpage.h"
|
||||
#include <retroshare-gui/configpage.h>
|
||||
#include "ui_SoundPage.h"
|
||||
#include "gui/SoundManager.h"
|
||||
|
||||
|
@ -39,9 +39,12 @@ public:
|
|||
~SoundPage();
|
||||
|
||||
/** Saves the changes on this page */
|
||||
bool save(QString &errmsg);
|
||||
virtual bool save(QString &errmsg);
|
||||
/** Loads the settings for this page */
|
||||
void load();
|
||||
virtual void load();
|
||||
|
||||
virtual QPixmap iconPixmap() const { return QPixmap(":/images/sound.png") ; }
|
||||
virtual QString pageName() const { return tr("Sound") ; }
|
||||
|
||||
private slots:
|
||||
void eventChanged(QTreeWidgetItem *current, QTreeWidgetItem *previous);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue