summaryrefslogtreecommitdiffstats
path: root/framework/settings/resourcelistmodel.h
diff options
context:
space:
mode:
authorSandro Knauß <sknauss@kde.org>2016-10-10 13:01:15 +0200
committerSandro Knauß <sknauss@kde.org>2016-10-10 13:01:15 +0200
commit6b6f20ffbe06402abcc7d4721ad1f647c3fc4c46 (patch)
tree6e2762d879c64373519b0506e9a66ddc27f04830 /framework/settings/resourcelistmodel.h
parent349e404b539c1f9d1feb54658e2e6fbbd2165462 (diff)
parent5fa8608e9877eab40336a60ed8ed979aaf3cfbd0 (diff)
downloadkube-6b6f20ffbe06402abcc7d4721ad1f647c3fc4c46.tar.gz
kube-6b6f20ffbe06402abcc7d4721ad1f647c3fc4c46.zip
Merge branch 'develop' into dev/mimetreeinterface
Diffstat (limited to 'framework/settings/resourcelistmodel.h')
-rw-r--r--framework/settings/resourcelistmodel.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/framework/settings/resourcelistmodel.h b/framework/settings/resourcelistmodel.h
deleted file mode 100644
index de1b5a51..00000000
--- a/framework/settings/resourcelistmodel.h
+++ /dev/null
@@ -1,26 +0,0 @@
1#pragma once
2
3#include <QIdentityProxyModel>
4#include <QSharedPointer>
5#include <QStringList>
6
7class ResourceListModel : public QIdentityProxyModel
8{
9 Q_OBJECT
10
11public:
12 ResourceListModel(QObject *parent = Q_NULLPTR);
13 ~ResourceListModel();
14
15 QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
16
17 enum Roles {
18 Id = Qt::UserRole + 1,
19 Type
20 };
21
22 QHash<int, QByteArray> roleNames() const;
23
24private:
25 QSharedPointer<QAbstractItemModel> m_model;
26};