[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [messagelib/Applications/16.08] /: Allow to define identitymanager (avoid to create a new one when w
From: Montel Laurent <montel () kde ! org>
Date: 2016-07-31 18:59:16
Message-ID: E1bTvxE-0004YV-HG () code ! kde ! org
[Download RAW message or body]
Git commit 6eeaff1ae606a2242d7d700be4ff4311cf6c69e0 by Montel Laurent.
Committed on 31/07/2016 at 18:58.
Pushed by mlaurent into branch 'Applications/16.08'.
Allow to define identitymanager (avoid to create a new one when we configure widget)
M +1 -1 CMakeLists.txt
M +12 -1 messagecomposer/src/plugineditorcheckbeforesend/plugineditorcheckbeforesendconfigurewidget.cpp
M +11 -0 messagecomposer/src/plugineditorcheckbeforesend/plugineditorcheckbeforesendconfigurewidget.h
http://commits.kde.org/messagelib/6eeaff1ae606a2242d7d700be4ff4311cf6c69e0
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 69d7391..76ee26e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -18,7 +18,7 @@ include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
include(ECMQtDeclareLoggingCategory)
include(ECMAddTests)
-set(PIM_VERSION "5.2.93")
+set(PIM_VERSION "5.2.94")
set(MESSAGELIB_LIB_VERSION ${PIM_VERSION})
set(AKONADIMIME_LIB_VERSION "5.2.90")
diff --git a/messagecomposer/src/plugineditorcheckbeforesend/plugineditorcheckbeforesendconfigurewidget.cpp \
b/messagecomposer/src/plugineditorcheckbeforesend/plugineditorcheckbeforesendconfigurewidget.cpp
index 2569db8..39ee937 100644
--- a/messagecomposer/src/plugineditorcheckbeforesend/plugineditorcheckbeforesendconfigurewidget.cpp
+++ b/messagecomposer/src/plugineditorcheckbeforesend/plugineditorcheckbeforesendconfigurewidget.cpp
@@ -22,7 +22,8 @@
using namespace MessageComposer;
PluginEditorCheckBeforeSendConfigureWidget::PluginEditorCheckBeforeSendConfigureWidget(QWidget \
*parent)
- : QWidget(parent)
+ : QWidget(parent),
+ mIdentityManagement(Q_NULLPTR)
{
}
@@ -36,3 +37,13 @@ QString PluginEditorCheckBeforeSendConfigureWidget::helpAnchor() \
const {
return QString();
}
+
+void PluginEditorCheckBeforeSendConfigureWidget::setIdentityManagement(KIdentityManagement::IdentityManager \
*identityManagement) +{
+ mIdentityManagement = identityManagement;
+}
+
+KIdentityManagement::IdentityManager \
*PluginEditorCheckBeforeSendConfigureWidget::identityManagement() const +{
+ return mIdentityManagement;
+}
diff --git a/messagecomposer/src/plugineditorcheckbeforesend/plugineditorcheckbeforesendconfigurewidget.h \
b/messagecomposer/src/plugineditorcheckbeforesend/plugineditorcheckbeforesendconfigurewidget.h
index f87f591..d1f1172 100644
--- a/messagecomposer/src/plugineditorcheckbeforesend/plugineditorcheckbeforesendconfigurewidget.h
+++ b/messagecomposer/src/plugineditorcheckbeforesend/plugineditorcheckbeforesendconfigurewidget.h
@@ -23,6 +23,11 @@
#include "messagecomposer_export.h"
#include <QWidget>
+namespace KIdentityManagement
+{
+class IdentityManager;
+}
+
namespace MessageComposer
{
class MESSAGECOMPOSER_EXPORT PluginEditorCheckBeforeSendConfigureWidget : public \
QWidget @@ -37,8 +42,14 @@ public:
virtual void resetSettings() = 0;
virtual QString helpAnchor() const;
+ void setIdentityManagement(KIdentityManagement::IdentityManager \
*identityManagement); + KIdentityManagement::IdentityManager *identityManagement() \
const; +
Q_SIGNALS:
void configureChanged();
+
+private:
+ KIdentityManagement::IdentityManager *mIdentityManagement;
};
}
#endif // PLUGINEDITORCHECKBEFORESENDCONFIGUREWIDGET_H
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic