summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-04-27 20:55:30 +0200
committerMontel Laurent <[email protected]>2017-04-27 20:55:30 +0200
commit3fbf2cce5bf0abcf7e4fee5d0ba3bdeb0a21d8a4 (patch)
treec60a4087eadaf5a144bee78d990d13b0b6db2940
parent1caf31b428b3695be1e877d16eb825bfa87a5395 (diff)
We need to use a RichTextComposer
-rw-r--r--CMakeLists.txt2
-rw-r--r--messagecomposer/src/plugineditorinit/plugineditorinitinterface.cpp6
-rw-r--r--messagecomposer/src/plugineditorinit/plugineditorinitinterface.h6
3 files changed, 7 insertions, 7 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a313d54..90ee027 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.0)
-set(PIM_VERSION "5.5.41")
+set(PIM_VERSION "5.5.42")
if (POLICY CMP0053)
cmake_policy(SET CMP0053 NEW)
diff --git a/messagecomposer/src/plugineditorinit/plugineditorinitinterface.cpp b/messagecomposer/src/plugineditorinit/plugineditorinitinterface.cpp
index 21a366d..df63be0 100644
--- a/messagecomposer/src/plugineditorinit/plugineditorinitinterface.cpp
+++ b/messagecomposer/src/plugineditorinit/plugineditorinitinterface.cpp
@@ -31,7 +31,7 @@ public:
}
QWidget *mParentWidget;
- KPIMTextEdit::RichTextEditor *mEditor;
+ KPIMTextEdit::RichTextComposer *mEditor;
};
PluginEditorInitInterface::PluginEditorInitInterface(QObject *parent)
@@ -56,12 +56,12 @@ QWidget *PluginEditorInitInterface::parentWidget() const
return d->mParentWidget;
}
-KPIMTextEdit::RichTextEditor *PluginEditorInitInterface::richTextEditor() const
+KPIMTextEdit::RichTextComposer *PluginEditorInitInterface::richTextEditor() const
{
return d->mEditor;
}
-void PluginEditorInitInterface::setRichTextEditor(KPIMTextEdit::RichTextEditor *richTextEditor)
+void PluginEditorInitInterface::setRichTextEditor(KPIMTextEdit::RichTextComposer *richTextEditor)
{
d->mEditor = richTextEditor;
}
diff --git a/messagecomposer/src/plugineditorinit/plugineditorinitinterface.h b/messagecomposer/src/plugineditorinit/plugineditorinitinterface.h
index cf685ed..70130cf 100644
--- a/messagecomposer/src/plugineditorinit/plugineditorinitinterface.h
+++ b/messagecomposer/src/plugineditorinit/plugineditorinitinterface.h
@@ -25,7 +25,7 @@
namespace KPIMTextEdit
{
-class RichTextEditor;
+class RichTextComposer;
}
namespace MessageComposer
@@ -44,8 +44,8 @@ public:
void setParentWidget(QWidget *parent);
QWidget *parentWidget() const;
- KPIMTextEdit::RichTextEditor *richTextEditor() const;
- void setRichTextEditor(KPIMTextEdit::RichTextEditor *richTextEditor);
+ KPIMTextEdit::RichTextComposer *richTextEditor() const;
+ void setRichTextEditor(KPIMTextEdit::RichTextComposer *richTextEditor);
public Q_SLOTS: