refs #513 Make plugin selection persistent

* Saved listeners are started on application startup
* CVariant has support for QStringList
This commit is contained in:
Michał Garapich
2016-01-03 13:42:10 +01:00
parent f4eadddee7
commit 1a3e610cbf
9 changed files with 92 additions and 18 deletions

View File

@@ -49,6 +49,9 @@ namespace BlackGui
//! \param enabled Defines whether the plugin is initially enabled or not
void addPlugin(const QString &identifier, const QString &name, bool hasConfig = false, bool enabled = true);
//! Enables/disabled the given plugin.
void setEnabled(const QString &identifier, bool enabled);
private slots:
void ps_handlePluginStateChange();