summaryrefslogtreecommitdiffstats
path: root/SQLiteStudio3/coreSQLiteStudio/pluginservicebase.cpp
blob: 85d1da8f0d9204fddd2567c95e28155a3c43f575 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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);
}