Commit c45e7769 authored by Sandro Knauß's avatar Sandro Knauß
Browse files

Prepare MessagePart to be used in Kube and mae it subclass of QObject.

parent e7820eed
......@@ -39,13 +39,15 @@
using namespace MimeTreeParser::Interface;
MessagePart::MessagePart()
: mHtmlWriter(Q_NULLPTR)
: QObject()
, mHtmlWriter(Q_NULLPTR)
, mPart(Q_NULLPTR)
{
}
MessagePart::MessagePart(const BodyPart &part)
: mHtmlWriter(Q_NULLPTR)
: QObject()
, mHtmlWriter(Q_NULLPTR)
, mPart(&part)
{
......
......@@ -51,8 +51,9 @@ namespace Interface
class BodyPartURLHandler;
class BodyPart;
class MIMETREEPARSER_EXPORT MessagePart
class MIMETREEPARSER_EXPORT MessagePart : public QObject
{
Q_OBJECT
public:
typedef QSharedPointer<MessagePart> Ptr;
explicit MessagePart();
......
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