diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2021-04-10 08:56:08 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2021-04-16 14:29:55 +0200 |
commit | 16b30313ad6d9421a75c228dcacf5e2f9ded29ed (patch) | |
tree | 9c89e4b8019447bc747bfe7b426abc0d88a591f7 /src/qml/jsruntime/qv4propertykey_p.h | |
parent | 9cd1e7902ce882a54e369556068f2707090df658 (diff) |
Rework qmljsrootgen
This way it actually generates interesting data about the JavaScript
types, for example the functions of the String prototype. Add a helper
method to create a symbol to QJSEngine. This should be generally useful.
Change-Id: I6c7b253b9d6cdb61602ceeae0955aed8d942c139
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4propertykey_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4propertykey_p.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qml/jsruntime/qv4propertykey_p.h b/src/qml/jsruntime/qv4propertykey_p.h index b2a2ec3dea..b5dca2d2ac 100644 --- a/src/qml/jsruntime/qv4propertykey_p.h +++ b/src/qml/jsruntime/qv4propertykey_p.h @@ -124,11 +124,11 @@ public: return m(); } - Q_QML_EXPORT bool isString() const; - bool isSymbol() const; + Q_QML_PRIVATE_EXPORT bool isString() const; + Q_QML_PRIVATE_EXPORT bool isSymbol() const; bool isCanonicalNumericIndexString() const; - Q_QML_EXPORT QString toQString() const; + Q_QML_PRIVATE_EXPORT QString toQString() const; Heap::StringOrSymbol *toStringOrSymbol(ExecutionEngine *e); quint64 id() const { return val; } static PropertyKey fromId(quint64 id) { |