summaryrefslogtreecommitdiffstats
path: root/framework/settings/resourcescontroller.h
diff options
context:
space:
mode:
Diffstat (limited to 'framework/settings/resourcescontroller.h')
-rw-r--r--framework/settings/resourcescontroller.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/framework/settings/resourcescontroller.h b/framework/settings/resourcescontroller.h
new file mode 100644
index 00000000..0e2e89de
--- /dev/null
+++ b/framework/settings/resourcescontroller.h
@@ -0,0 +1,20 @@
1#pragma once
2
3#include "resourcelistmodel.h"
4
5#include <QObject>
6#include <QScopedPointer>
7
8class ResourcesController : public QObject
9{
10 Q_OBJECT
11 Q_PROPERTY (ResourceListModel *model READ model CONSTANT)
12
13public:
14 explicit ResourcesController(QObject *parent = Q_NULLPTR);
15
16 ResourceListModel *model() const;
17
18private:
19 QScopedPointer<ResourceListModel> m_model;
20};