diff options
Diffstat (limited to 'src/qml/qmlconfigproxy.h')
-rw-r--r-- | src/qml/qmlconfigproxy.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/qml/qmlconfigproxy.h b/src/qml/qmlconfigproxy.h new file mode 100644 index 0000000000..aaa2c9fce6 --- /dev/null +++ b/src/qml/qmlconfigproxy.h @@ -0,0 +1,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 |