20 lines
577 B
C++
20 lines
577 B
C++
#pragma once
|
|
#include "ConfigSection.hpp"
|
|
#include <qqmlregistration.h>
|
|
#include <QVariantList>
|
|
|
|
class Dock : public ConfigSection {
|
|
Q_OBJECT
|
|
QML_UNCREATABLE("Instantiated internally by Config")
|
|
|
|
CFG_PROPERTY(bool, enable, Enable)
|
|
CFG_PROPERTY(int, height, Height)
|
|
CFG_PROPERTY(bool, hoverToReveal, HoverToReveal)
|
|
CFG_PROPERTY(QVariantList, ignoredAppRegexes, IgnoredAppRegexes)
|
|
CFG_PROPERTY(QVariantList, pinnedApps, PinnedApps)
|
|
CFG_PROPERTY(bool, pinnedOnStartup, PinnedOnStartup)
|
|
|
|
public:
|
|
explicit Dock(QObject *parent = nullptr);
|
|
};
|