forked from quickshell/quickshell
core/qmljson: add support for synthesized .qml.json files
This commit is contained in:
parent
6026c4ce27
commit
5193426cd7
5 changed files with 112 additions and 18 deletions
|
@ -20,8 +20,11 @@ public:
|
|||
|
||||
QVector<QString> scannedDirs;
|
||||
QVector<QString> scannedFiles;
|
||||
QHash<QString, QString> qmldirIntercepts;
|
||||
QHash<QString, QString> fileIntercepts;
|
||||
|
||||
private:
|
||||
QDir rootPath;
|
||||
|
||||
void scanQmlJson(const QString& path);
|
||||
[[nodiscard]] static QPair<QString, QString> jsonToQml(const QJsonValue& value, int indent = 0);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue