summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Montel <[email protected]>2018-02-28 13:31:46 +0100
committerLaurent Montel <[email protected]>2018-02-28 13:31:46 +0100
commitb2f09568588c785835e16efce30085c1c1712f03 (patch)
treeea78c437ac4d064b86bb422d82c3322e6a0589cd
parent03c1821c1427f32b83cf4928f8c67f31addd5714 (diff)
Add virtual method
-rw-r--r--messagecomposer/src/plugineditorconverttext/plugineditorconverttextinterface.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/messagecomposer/src/plugineditorconverttext/plugineditorconverttextinterface.h b/messagecomposer/src/plugineditorconverttext/plugineditorconverttextinterface.h
index c8aa698..2e7942a 100644
--- a/messagecomposer/src/plugineditorconverttext/plugineditorconverttextinterface.h
+++ b/messagecomposer/src/plugineditorconverttext/plugineditorconverttextinterface.h
@@ -28,6 +28,7 @@ class RichTextComposer;
}
namespace MessageComposer {
+class TextPart;
class PluginEditorConvertTextInterfacePrivate;
class MESSAGECOMPOSER_EXPORT PluginEditorConvertTextInterface : public QObject
{
@@ -36,7 +37,9 @@ public:
explicit PluginEditorConvertTextInterface(QObject *parent = nullptr);
~PluginEditorConvertTextInterface();
- virtual bool exec() = 0;
+ //TODO add action too
+
+ virtual bool convertTextToFormat(MessageComposer::TextPart *textPart) = 0;
void setParentWidget(QWidget *parent);
QWidget *parentWidget() const;