summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-09-30 06:56:18 (GMT)
committerMontel Laurent <montel@kde.org>2016-09-30 06:56:18 (GMT)
commitde8d51d55d1ac56b6e1ba5065eeade0df31c8907 (patch)
tree2ba75c63d99679136f171818a5a38e87be30b805
parente739f99bed02365221f0782842f7715c84d99dfc (diff)
Clean up api
-rw-r--r--CMakeLists.txt2
-rw-r--r--messagecomposer/src/plugineditorcheckbeforesend/plugineditorcheckbeforesendconfigurewidget.cpp15
-rw-r--r--messagecomposer/src/plugineditorcheckbeforesend/plugineditorcheckbeforesendconfigurewidget.h14
3 files changed, 4 insertions, 27 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a9e9e28..7ed5a5f 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.66")
+set(PIM_VERSION "5.3.67")
set(MESSAGELIB_LIB_VERSION ${PIM_VERSION})
set(AKONADIMIME_LIB_VERSION "5.3.40")
diff --git a/messagecomposer/src/plugineditorcheckbeforesend/plugineditorcheckbeforesendconfigurewidget.cpp b/messagecomposer/src/plugineditorcheckbeforesend/plugineditorcheckbeforesendconfigurewidget.cpp
index 85d036a..2569db8 100644
--- a/messagecomposer/src/plugineditorcheckbeforesend/plugineditorcheckbeforesendconfigurewidget.cpp
+++ b/messagecomposer/src/plugineditorcheckbeforesend/plugineditorcheckbeforesendconfigurewidget.cpp
@@ -21,9 +21,8 @@
using namespace MessageComposer;
-PluginEditorCheckBeforeSendConfigureWidget::PluginEditorCheckBeforeSendConfigureWidget(KIdentityManagement::IdentityManager *identityManager, QWidget *parent)
- : QWidget(parent),
- mIdentityManagement(identityManager)
+PluginEditorCheckBeforeSendConfigureWidget::PluginEditorCheckBeforeSendConfigureWidget(QWidget *parent)
+ : QWidget(parent)
{
}
@@ -37,13 +36,3 @@ QString PluginEditorCheckBeforeSendConfigureWidget::helpAnchor() const
{
return QString();
}
-
-void PluginEditorCheckBeforeSendConfigureWidget::setIdentityManager(KIdentityManagement::IdentityManager *identityManagement)
-{
- mIdentityManagement = identityManagement;
-}
-
-KIdentityManagement::IdentityManager *PluginEditorCheckBeforeSendConfigureWidget::identityManager() const
-{
- return mIdentityManagement;
-}
diff --git a/messagecomposer/src/plugineditorcheckbeforesend/plugineditorcheckbeforesendconfigurewidget.h b/messagecomposer/src/plugineditorcheckbeforesend/plugineditorcheckbeforesendconfigurewidget.h
index 045857a..88dba69 100644
--- a/messagecomposer/src/plugineditorcheckbeforesend/plugineditorcheckbeforesendconfigurewidget.h
+++ b/messagecomposer/src/plugineditorcheckbeforesend/plugineditorcheckbeforesendconfigurewidget.h
@@ -23,33 +23,21 @@
#include "messagecomposer_export.h"
#include <QWidget>
-namespace KIdentityManagement
-{
-class IdentityManager;
-}
-
namespace MessageComposer
{
class MESSAGECOMPOSER_EXPORT PluginEditorCheckBeforeSendConfigureWidget : public QWidget
{
Q_OBJECT
public:
- explicit PluginEditorCheckBeforeSendConfigureWidget(KIdentityManagement::IdentityManager *identityManager, QWidget *parent = Q_NULLPTR);
+ explicit PluginEditorCheckBeforeSendConfigureWidget(QWidget *parent = Q_NULLPTR);
~PluginEditorCheckBeforeSendConfigureWidget();
virtual void loadSettings() = 0;
virtual void saveSettings() = 0;
virtual void resetSettings() = 0;
virtual QString helpAnchor() const;
-
- void setIdentityManager(KIdentityManagement::IdentityManager *identityManager);
- KIdentityManagement::IdentityManager *identityManager() const;
-
Q_SIGNALS:
void configureChanged();
-
-private:
- KIdentityManagement::IdentityManager *mIdentityManagement;
};
}
#endif // PLUGINEDITORCHECKBEFORESENDCONFIGUREWIDGET_H