summaryrefslogtreecommitdiffstats
path: root/framework/settings/resourcescontroller.h
blob: 0e2e89de87642471c96ae51dca0a41804957ef77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

#include "resourcelistmodel.h"

#include <QObject>
#include <QScopedPointer>

class ResourcesController : public QObject
{
    Q_OBJECT
    Q_PROPERTY (ResourceListModel *model READ model CONSTANT)

public:
    explicit ResourcesController(QObject *parent = Q_NULLPTR);

    ResourceListModel *model() const;

private:
    QScopedPointer<ResourceListModel> m_model;
};