diff options
author | Sandro Knauß <sknauss@kde.org> | 2016-10-19 15:22:31 +0200 |
---|---|---|
committer | Sandro Knauß <sknauss@kde.org> | 2016-10-19 15:22:31 +0200 |
commit | 17a926c2697143937b0c1700b1d1e8081f727059 (patch) | |
tree | 7754baf87f073d1a437fd4c4cee56a1b6a087879 /framework/domain/messageparser.h | |
parent | d2fa9b2f152e223ec31dc2812ebbfaf109549939 (diff) | |
download | kube-17a926c2697143937b0c1700b1d1e8081f727059.tar.gz kube-17a926c2697143937b0c1700b1d1e8081f727059.zip |
delete useless NewContentModel
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: |