summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-09-25 06:29:15 (GMT)
committerMontel Laurent <montel@kde.org>2016-09-25 06:29:15 (GMT)
commit08a3302918460ed88641097f9bc02fb05162ed48 (patch)
treef14e60f7a44524ba5fddc35066c0bd86dc2fa4db
parent68ed22fc3e2344fc87b8835066f079f81d514856 (diff)
Add support for configure dialogbox
-rw-r--r--CMakeLists.txt2
-rw-r--r--messageviewer/src/header/headerstyleplugin.cpp11
-rw-r--r--messageviewer/src/header/headerstyleplugin.h3
3 files changed, 15 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 566f916..2a7da67 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.64")
+set(PIM_VERSION "5.3.65")
set(MESSAGELIB_LIB_VERSION ${PIM_VERSION})
set(AKONADIMIME_LIB_VERSION "5.3.40")
diff --git a/messageviewer/src/header/headerstyleplugin.cpp b/messageviewer/src/header/headerstyleplugin.cpp
index 1825ca7..ae0fc6f 100644
--- a/messageviewer/src/header/headerstyleplugin.cpp
+++ b/messageviewer/src/header/headerstyleplugin.cpp
@@ -67,3 +67,14 @@ bool HeaderStylePlugin::isEnabled() const
{
return d->mIsEnabled;
}
+
+bool HeaderStylePlugin::hasConfigureDialog() const
+{
+ return false;
+}
+
+void HeaderStylePlugin::showConfigureDialog(QWidget *parent)
+{
+ Q_UNUSED(parent);
+ //Reimplement
+}
diff --git a/messageviewer/src/header/headerstyleplugin.h b/messageviewer/src/header/headerstyleplugin.h
index c350722..c5e2328 100644
--- a/messageviewer/src/header/headerstyleplugin.h
+++ b/messageviewer/src/header/headerstyleplugin.h
@@ -51,6 +51,9 @@ public:
void setIsEnabled(bool enabled);
bool isEnabled() const;
+ virtual bool hasConfigureDialog() const;
+
+ virtual void showConfigureDialog(QWidget *parent);
private:
HeaderStylePluginPrivate *const d;
};