config moved to c++ plugin, removed old qml + fileview implementation
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
#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);
|
||||
};
|
||||
Reference in New Issue
Block a user