diff options
Diffstat (limited to 'src/qml/jsruntime/qv4identifiertable_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4identifiertable_p.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qml/jsruntime/qv4identifiertable_p.h b/src/qml/jsruntime/qv4identifiertable_p.h index 09e07fe5b8..2ecd4a7294 100644 --- a/src/qml/jsruntime/qv4identifiertable_p.h +++ b/src/qml/jsruntime/qv4identifiertable_p.h @@ -24,7 +24,7 @@ QT_BEGIN_NAMESPACE namespace QV4 { -struct Q_QML_PRIVATE_EXPORT IdentifierTable +struct Q_QML_EXPORT IdentifierTable { ExecutionEngine *engine; @@ -55,8 +55,8 @@ public: return asPropertyKey(str->d()); } - PropertyKey asPropertyKey(const QString &s); - PropertyKey asPropertyKey(const char *s, int len); + enum KeyConversionBehavior { Default, ForceConversionToId }; + PropertyKey asPropertyKey(const QString &s, KeyConversionBehavior conversionBehavior = Default); PropertyKey asPropertyKeyImpl(const Heap::String *str); |