summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-09-30 11:58:18 (GMT)
committerMontel Laurent <montel@kde.org>2016-09-30 11:58:18 (GMT)
commitc9b10647e047ac1e32088000aca158ad15378af5 (patch)
tree855575ce20492cc32ae11781a8f4c35ce1f35fa7
parent80efc15cf9de2e33b462187a7f05c05b8c30933e (diff)
Allow to make restore defaults
-rw-r--r--CMakeLists.txt2
-rw-r--r--src/configureplugins/configurepluginslistwidget.cpp5
-rw-r--r--src/configureplugins/configurepluginslistwidget.h1
-rw-r--r--src/configureplugins/configurepluginswidget.cpp5
-rw-r--r--src/configureplugins/configurepluginswidget.h1
5 files changed, 13 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index faab943..32dd83f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -21,7 +21,7 @@ include(ECMQtDeclareLoggingCategory)
include(ECMAddTests)
include(ECMInstallIcons)
-set(PIM_VERSION "5.3.58")
+set(PIM_VERSION "5.3.59")
set(PIMCOMMON_LIB_VERSION ${PIM_VERSION})
set(AKONADIMIME_LIB_VERSION "5.3.40")
diff --git a/src/configureplugins/configurepluginslistwidget.cpp b/src/configureplugins/configurepluginslistwidget.cpp
index e765c8b..a04484b 100644
--- a/src/configureplugins/configurepluginslistwidget.cpp
+++ b/src/configureplugins/configurepluginslistwidget.cpp
@@ -86,6 +86,11 @@ void ConfigurePluginsListWidget::doResetToDefaultsOther()
{
}
+void ConfigurePluginsListWidget::defaults()
+{
+
+}
+
void ConfigurePluginsListWidget::initialize()
{
}
diff --git a/src/configureplugins/configurepluginslistwidget.h b/src/configureplugins/configurepluginslistwidget.h
index 7a8e1aa..b54a5d4 100644
--- a/src/configureplugins/configurepluginslistwidget.h
+++ b/src/configureplugins/configurepluginslistwidget.h
@@ -37,6 +37,7 @@ public:
virtual void save();
virtual void doLoadFromGlobalSettings();
virtual void doResetToDefaultsOther();
+ virtual void defaults();
virtual void initialize();
Q_SIGNALS:
void descriptionChanged(const QString &description);
diff --git a/src/configureplugins/configurepluginswidget.cpp b/src/configureplugins/configurepluginswidget.cpp
index 7f1b1aa..8eb5687 100644
--- a/src/configureplugins/configurepluginswidget.cpp
+++ b/src/configureplugins/configurepluginswidget.cpp
@@ -87,6 +87,11 @@ void ConfigurePluginsWidget::save()
mConfigureListWidget->save();
}
+void ConfigurePluginsWidget::defaults()
+{
+ mConfigureListWidget->defaults();
+}
+
void ConfigurePluginsWidget::doLoadFromGlobalSettings()
{
mConfigureListWidget->doLoadFromGlobalSettings();
diff --git a/src/configureplugins/configurepluginswidget.h b/src/configureplugins/configurepluginswidget.h
index 677b39a..8805f1b 100644
--- a/src/configureplugins/configurepluginswidget.h
+++ b/src/configureplugins/configurepluginswidget.h
@@ -34,6 +34,7 @@ public:
~ConfigurePluginsWidget();
void save();
+ void defaults();
void doLoadFromGlobalSettings();
void doResetToDefaultsOther();