diff options
Diffstat (limited to 'framework/domain/messageparser.h')
-rw-r--r-- | framework/domain/messageparser.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/framework/domain/messageparser.h b/framework/domain/messageparser.h index 55c884f9..559fa6f9 100644 --- a/framework/domain/messageparser.h +++ b/framework/domain/messageparser.h | |||
@@ -98,31 +98,6 @@ private: | |||
98 | }; | 98 | }; |
99 | 99 | ||
100 | 100 | ||
101 | class NewContentModel : public QAbstractItemModel { | ||
102 | Q_OBJECT | ||
103 | public: | ||
104 | NewContentModel (const PartPtr &part, const std::shared_ptr<Parser> &parser); | ||
105 | |||
106 | public: | ||
107 | enum Roles { | ||
108 | TypeRole = Qt::UserRole + 1, | ||
109 | ContentRole, | ||
110 | IsEmbededRole, | ||
111 | SecurityLevelRole | ||
112 | }; | ||
113 | |||
114 | QHash<int, QByteArray> roleNames() const Q_DECL_OVERRIDE; | ||
115 | QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const Q_DECL_OVERRIDE; | ||
116 | QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const Q_DECL_OVERRIDE; | ||
117 | QModelIndex parent(const QModelIndex &index) const Q_DECL_OVERRIDE; | ||
118 | int rowCount(const QModelIndex &parent = QModelIndex()) const Q_DECL_OVERRIDE; | ||
119 | int columnCount(const QModelIndex &parent = QModelIndex()) const Q_DECL_OVERRIDE; | ||
120 | |||
121 | private: | ||
122 | const PartPtr &mPart; | ||
123 | const std::shared_ptr<Parser> &mParser; | ||
124 | }; | ||
125 | |||
126 | class NewModel : public QAbstractItemModel { | 101 | class NewModel : public QAbstractItemModel { |
127 | Q_OBJECT | 102 | Q_OBJECT |
128 | public: | 103 | public: |