core: add Internal pragma

This commit is contained in:
outfoxxed 2025-07-16 20:13:59 -07:00
parent 78e3874ac6
commit 201c559dcd
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E
3 changed files with 47 additions and 32 deletions

View file

@ -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);
};