summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-09-23 11:12:14 (GMT)
committerMontel Laurent <montel@kde.org>2016-09-23 11:12:14 (GMT)
commit9c803f529b838837ea4988dc282f56ff6bf25b9d (patch)
tree8c485ea96ceec013994fde1e556fa506ee75299a
parent14b29dad2b35feac2d050985fac173360adc4be6 (diff)
Get plugin from identifier
-rw-r--r--CMakeLists.txt2
-rw-r--r--src/genericplugins/plugininterface.cpp5
-rw-r--r--src/genericplugins/plugininterface.h1
3 files changed, 7 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 26596ef..eca9a46 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -21,7 +21,7 @@ include(ECMQtDeclareLoggingCategory)
include(ECMAddTests)
include(ECMInstallIcons)
-set(PIM_VERSION "5.3.55")
+set(PIM_VERSION "5.3.56")
set(PIMCOMMON_LIB_VERSION ${PIM_VERSION})
set(AKONADIMIME_LIB_VERSION "5.3.40")
diff --git a/src/genericplugins/plugininterface.cpp b/src/genericplugins/plugininterface.cpp
index 1c6fa00..1b9b730 100644
--- a/src/genericplugins/plugininterface.cpp
+++ b/src/genericplugins/plugininterface.cpp
@@ -213,3 +213,8 @@ QString PluginInterface::configPrefixSettingKey() const
{
return GenericPluginManager::self()->configPrefixSettingKey();
}
+
+PimCommon::GenericPlugin *PluginInterface::pluginFromIdentifier(const QString &id)
+{
+ return GenericPluginManager::self()->pluginFromIdentifier(id);
+}
diff --git a/src/genericplugins/plugininterface.h b/src/genericplugins/plugininterface.h
index ea860f3..4faad3b 100644
--- a/src/genericplugins/plugininterface.h
+++ b/src/genericplugins/plugininterface.h
@@ -54,6 +54,7 @@ public:
QString configGroupName() const;
QString configPrefixSettingKey() const;
+ PimCommon::GenericPlugin *pluginFromIdentifier(const QString &id);
private Q_SLOTS:
void slotPluginActivated(AbstractGenericPluginInterface *interface);