summaryrefslogtreecommitdiffstats
path: root/SQLiteStudio3/coreSQLiteStudio/pluginservicebase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'SQLiteStudio3/coreSQLiteStudio/pluginservicebase.cpp')
-rw-r--r--SQLiteStudio3/coreSQLiteStudio/pluginservicebase.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/SQLiteStudio3/coreSQLiteStudio/pluginservicebase.cpp b/SQLiteStudio3/coreSQLiteStudio/pluginservicebase.cpp
new file mode 100644
index 0000000..85d1da8
--- /dev/null
+++ b/SQLiteStudio3/coreSQLiteStudio/pluginservicebase.cpp
@@ -0,0 +1,21 @@
+#include "pluginservicebase.h"
+
+PluginServiceBase::PluginServiceBase(QObject *parent) :
+ QObject(parent)
+{
+}
+
+void PluginServiceBase::handleValidationFromPlugin(bool configValid, CfgEntry* key, const QString& errorMessage)
+{
+ emit validationResultFromPlugin(configValid, key, errorMessage);
+}
+
+void PluginServiceBase::propertySetFromPlugin(CfgEntry* key, const QString& propertyName, const QVariant& value)
+{
+ emit widgetPropertyFromPlugin(key, propertyName, value);
+}
+
+void PluginServiceBase::updateVisibilityAndEnabled(CfgEntry* key, bool visible, bool enabled)
+{
+ emit stateUpdateRequestFromPlugin(key, visible, enabled);
+}