Plugin manager for enabling/disabling plugins

Go to About Plugins and enable/disable plugins from there.

Reviewed-by: mae
This commit is contained in:
Lasse Holmstedt
2010-03-12 16:02:23 +01:00
parent f4487c4c67
commit 68c49a65e9
48 changed files with 639 additions and 77 deletions

View File

@@ -34,6 +34,7 @@
QT_BEGIN_NAMESPACE
class QPushButton;
class QLabel;
QT_END_NAMESPACE
namespace ExtensionSystem {
@@ -52,10 +53,12 @@ public:
explicit PluginDialog(QWidget *parent);
private slots:
void updateRestartRequired();
void updateButtons();
void openDetails();
void openDetails(ExtensionSystem::PluginSpec *spec);
void openErrorDetails();
void closeDialog();
private:
ExtensionSystem::PluginView *m_view;
@@ -63,6 +66,8 @@ private:
QPushButton *m_detailsButton;
QPushButton *m_errorDetailsButton;
QPushButton *m_closeButton;
QLabel *m_restartRequired;
static bool m_isRestartRequired;
};
} // namespace Internal