summaryrefslogtreecommitdiffstats
path: root/framework/domain/messageparser.h
diff options
context:
space:
mode:
authorSandro Knauß <sknauss@kde.org>2016-10-19 15:22:31 +0200
committerSandro Knauß <sknauss@kde.org>2016-10-19 15:22:31 +0200
commit17a926c2697143937b0c1700b1d1e8081f727059 (patch)
tree7754baf87f073d1a437fd4c4cee56a1b6a087879 /framework/domain/messageparser.h
parentd2fa9b2f152e223ec31dc2812ebbfaf109549939 (diff)
downloadkube-17a926c2697143937b0c1700b1d1e8081f727059.tar.gz
kube-17a926c2697143937b0c1700b1d1e8081f727059.zip
delete useless NewContentModel
Diffstat (limited to 'framework/domain/messageparser.h')
-rw-r--r--framework/domain/messageparser.h25
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
101class NewContentModel : public QAbstractItemModel {
102 Q_OBJECT
103public:
104 NewContentModel (const PartPtr &part, const std::shared_ptr<Parser> &parser);
105
106public:
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
121private:
122 const PartPtr &mPart;
123 const std::shared_ptr<Parser> &mParser;
124};
125
126class NewModel : public QAbstractItemModel { 101class NewModel : public QAbstractItemModel {
127 Q_OBJECT 102 Q_OBJECT
128public: 103public: