summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-09-25 15:19:24 (GMT)
committerMontel Laurent <montel@kde.org>2016-09-25 15:23:27 (GMT)
commite1109e507ae4d45fcb1618008e40c5fbcf02d106 (patch)
tree7084bc92c6b163c9db821dd5d4102af326ef3027
parent0a7e73677a7187fb15b0b9340e68cf37c25666a9 (diff)
Add info about configure dialog support
-rw-r--r--CMakeLists.txt2
-rw-r--r--messageviewer/src/viewerplugins/viewerplugin.cpp5
-rw-r--r--messageviewer/src/viewerplugins/viewerplugin.h1
3 files changed, 7 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2a7da67..a9e9e28 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -18,7 +18,7 @@ include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
include(ECMQtDeclareLoggingCategory)
include(ECMAddTests)
-set(PIM_VERSION "5.3.65")
+set(PIM_VERSION "5.3.66")
set(MESSAGELIB_LIB_VERSION ${PIM_VERSION})
set(AKONADIMIME_LIB_VERSION "5.3.40")
diff --git a/messageviewer/src/viewerplugins/viewerplugin.cpp b/messageviewer/src/viewerplugins/viewerplugin.cpp
index 3b90b05..9e502be 100644
--- a/messageviewer/src/viewerplugins/viewerplugin.cpp
+++ b/messageviewer/src/viewerplugins/viewerplugin.cpp
@@ -49,6 +49,11 @@ void ViewerPlugin::showConfigureDialog(QWidget *parent)
Q_UNUSED(parent);
}
+bool ViewerPlugin::hasConfigureDialog() const
+{
+ return false;
+}
+
void ViewerPlugin::setIsEnabled(bool enabled)
{
d->mEnabled = enabled;
diff --git a/messageviewer/src/viewerplugins/viewerplugin.h b/messageviewer/src/viewerplugins/viewerplugin.h
index 929d0fb..ad33859 100644
--- a/messageviewer/src/viewerplugins/viewerplugin.h
+++ b/messageviewer/src/viewerplugins/viewerplugin.h
@@ -38,6 +38,7 @@ public:
virtual MessageViewer::ViewerPluginInterface *createView(QWidget *parent, KActionCollection *ac) = 0;
virtual QString viewerPluginName() const = 0;
virtual void showConfigureDialog(QWidget *parent = Q_NULLPTR);
+ virtual bool hasConfigureDialog() const;
void setIsEnabled(bool enabled);
bool isEnabled() const;