summaryrefslogtreecommitdiffstats
path: root/SQLiteStudio3/coreSQLiteStudio/pluginservicebase.cpp
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@ubuntu.com>2014-12-06 17:33:25 -0500
committerLibravatarUnit 193 <unit193@ubuntu.com>2014-12-06 17:33:25 -0500
commit7167ce41b61d2ba2cdb526777a4233eb84a3b66a (patch)
treea35c14143716e1f2c98f808c81f89426045a946f /SQLiteStudio3/coreSQLiteStudio/pluginservicebase.cpp
Imported Upstream version 2.99.6upstream/2.99.6
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);
+}