forked from quickshell/quickshell
core: add Internal pragma
This commit is contained in:
parent
78e3874ac6
commit
201c559dcd
3 changed files with 47 additions and 32 deletions
|
|
@ -18,8 +18,8 @@ public:
|
|||
|
||||
// path must be canonical
|
||||
void scanDir(const QString& path);
|
||||
// returns if the file has a singleton
|
||||
bool scanQmlFile(const QString& path);
|
||||
|
||||
void scanQmlRoot(const QString& path);
|
||||
|
||||
QVector<QString> scannedDirs;
|
||||
QVector<QString> scannedFiles;
|
||||
|
|
@ -28,6 +28,7 @@ public:
|
|||
private:
|
||||
QDir rootPath;
|
||||
|
||||
void scanQmlJson(const QString& path);
|
||||
bool scanQmlFile(const QString& path, bool& singleton, bool& internal);
|
||||
bool 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