summaryrefslogtreecommitdiffstats
path: root/src/skin/qml/qmlconfigproxy.h
blob: aaa2c9fce6da97330aac87b57b5fa7aef354cec9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#pragma once
#include <QColor>
#include <QObject>
#include <QVariantList>

#include "preferences/usersettings.h"

namespace mixxx {
namespace skin {
namespace qml {

class QmlConfigProxy : public QObject {
    Q_OBJECT
  public:
    explicit QmlConfigProxy(
            UserSettingsPointer pConfig,
            QObject* parent = nullptr);

    Q_INVOKABLE QVariantList getHotcueColorPalette();
    Q_INVOKABLE QVariantList getTrackColorPalette();

  private:
    const UserSettingsPointer m_pConfig;
};

} // namespace qml
} // namespace skin
} // namespace mixxx