Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit b2f09568 authored by Laurent Montel's avatar Laurent Montel 😁

Add virtual method

parent 03c1821c
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment