Expose isPluginEnabled and setPluginEnabled

BUG: 383795
This commit is contained in:
Albert Vaca 2017-08-22 15:33:33 +02:00
parent 28f11bd5c9
commit 239f7f6830

View file

@ -96,8 +96,8 @@ public:
Q_SCRIPTABLE QString pluginsConfigFile() const;
KdeConnectPlugin* plugin(const QString& pluginName) const;
void setPluginEnabled(const QString& pluginName, bool enabled);
bool isPluginEnabled(const QString& pluginName) const;
Q_SCRIPTABLE void setPluginEnabled(const QString& pluginName, bool enabled);
Q_SCRIPTABLE bool isPluginEnabled(const QString& pluginName) const;
void cleanUnneededLinks();