diff options
Diffstat (limited to 'framework/domain/messageparser.h')
-rw-r--r-- | framework/domain/messageparser.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/framework/domain/messageparser.h b/framework/domain/messageparser.h index 5eb355e7..e3b81dd7 100644 --- a/framework/domain/messageparser.h +++ b/framework/domain/messageparser.h | |||
@@ -33,11 +33,15 @@ class QAbstractItemModel; | |||
33 | 33 | ||
34 | class Parser; | 34 | class Parser; |
35 | class Part; | 35 | class Part; |
36 | class Encryption; | ||
37 | class Signature; | ||
36 | typedef std::shared_ptr<Part> PartPtr; | 38 | typedef std::shared_ptr<Part> PartPtr; |
37 | class Content; | 39 | class Content; |
38 | typedef std::shared_ptr<Content> ContentPtr; | 40 | typedef std::shared_ptr<Content> ContentPtr; |
39 | class MessagePartPrivate; | 41 | class MessagePartPrivate; |
40 | 42 | ||
43 | class NewModelPrivate; | ||
44 | |||
41 | class MessageParser : public QObject | 45 | class MessageParser : public QObject |
42 | { | 46 | { |
43 | Q_OBJECT | 47 | Q_OBJECT |
@@ -123,6 +127,7 @@ class NewModel : public QAbstractItemModel { | |||
123 | Q_OBJECT | 127 | Q_OBJECT |
124 | public: | 128 | public: |
125 | NewModel(std::shared_ptr<Parser> parser); | 129 | NewModel(std::shared_ptr<Parser> parser); |
130 | ~NewModel(); | ||
126 | 131 | ||
127 | public: | 132 | public: |
128 | enum Roles { | 133 | enum Roles { |
@@ -140,8 +145,6 @@ public: | |||
140 | int columnCount(const QModelIndex &parent = QModelIndex()) const Q_DECL_OVERRIDE; | 145 | int columnCount(const QModelIndex &parent = QModelIndex()) const Q_DECL_OVERRIDE; |
141 | 146 | ||
142 | private: | 147 | private: |
143 | std::shared_ptr<Parser> mParser; | 148 | std::unique_ptr<NewModelPrivate> d; |
144 | QVector<PartPtr> mParts; | ||
145 | QMap<Part *, std::shared_ptr<NewContentModel>> mContentMap; | ||
146 | }; | 149 | }; |
147 | 150 | ||