summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandro Knauß <sknauss@kde.org>2016-11-22 11:55:16 (GMT)
committerSandro Knauß <sknauss@kde.org>2016-11-22 11:55:16 (GMT)
commit1a7304128c228267dfe60f6a8acb6f45591c5784 (patch)
tree6e57947a58f947fe0938bc41a3288f49040e69f5
parent8e54231d5e7c507ed519167600cb21bf403b6ae9 (diff)
Add friend class to create new interface
-rw-r--r--mimetreeparser/src/viewer/messagepart.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/mimetreeparser/src/viewer/messagepart.h b/mimetreeparser/src/viewer/messagepart.h
index 1c9d3f9..47d2f50 100644
--- a/mimetreeparser/src/viewer/messagepart.h
+++ b/mimetreeparser/src/viewer/messagepart.h
@@ -35,6 +35,7 @@
#include <QSharedPointer>
class QTextCodec;
+class PartPrivate;
namespace GpgME
{
@@ -137,6 +138,7 @@ private:
bool mOnlyOneMimePart;
friend class AlternativeMessagePart;
+ friend class ::PartPrivate;
};
class MIMETREEPARSER_EXPORT MessagePartList : public MessagePart
@@ -193,6 +195,7 @@ private:
friend class DefaultRendererPrivate;
friend class ObjectTreeParser;
+ friend class ::PartPrivate;
};
class MIMETREEPARSER_EXPORT AttachmentMessagePart : public TextMessagePart
@@ -236,6 +239,7 @@ private:
QByteArray mCharset;
friend class DefaultRendererPrivate;
+ friend class ::PartPrivate;
};
class MIMETREEPARSER_EXPORT AlternativeMessagePart : public MessagePart
@@ -270,6 +274,7 @@ private:
friend class DefaultRendererPrivate;
friend class ObjectTreeParser;
friend class MultiPartAlternativeBodyPartFormatter;
+ friend class ::PartPrivate;
};
class MIMETREEPARSER_EXPORT CertMessagePart : public MessagePart
@@ -363,6 +368,7 @@ protected:
std::vector<GpgME::DecryptionResult::Recipient> mDecryptRecipients;
friend class DefaultRendererPrivate;
+ friend class ::PartPrivate;
};
class MIMETREEPARSER_EXPORT SignedMessagePart : public MessagePart
@@ -410,6 +416,7 @@ protected:
friend EncryptedMessagePart;
friend class DefaultRendererPrivate;
+ friend class ::PartPrivate;
};
}