diff --git a/core/device.h b/core/device.h index 326adf86a..6c71a77b2 100644 --- a/core/device.h +++ b/core/device.h @@ -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();