diff options
author | Lars Knoll <lars.knoll@qt.io> | 2018-06-23 23:27:14 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2018-07-02 19:29:47 +0000 |
commit | f1703895e2fc9ec5da3a38a3ffef927a8f4ed86c (patch) | |
tree | d5bc803ce71530f0c762f82f0a73ae04cfcbc03f /src/qml/jsruntime/qv4identifiertable_p.h | |
parent | 56bff8f7abc2f0eeadd4d197667132af6eed6f3a (diff) |
Rename IdentifierTable methods
identifier -> asPropertyKey
Change-Id: I4e6f33bdad12e901303ec6101dd2b8d6b0e99ac4
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4identifiertable_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4identifiertable_p.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/qml/jsruntime/qv4identifiertable_p.h b/src/qml/jsruntime/qv4identifiertable_p.h index 9d9f7c02cf..4f1656dddf 100644 --- a/src/qml/jsruntime/qv4identifiertable_p.h +++ b/src/qml/jsruntime/qv4identifiertable_p.h @@ -82,19 +82,19 @@ public: Heap::String *insertString(const QString &s); Heap::Symbol *insertSymbol(const QString &s); - PropertyKey identifier(const Heap::String *str) { + PropertyKey asPropertyKey(const Heap::String *str) { if (str->identifier.isValid()) return str->identifier; - return identifierImpl(str); + return asPropertyKeyImpl(str); } - PropertyKey identifier(const QV4::String *str) { - return identifier(str->d()); + PropertyKey asPropertyKey(const QV4::String *str) { + return asPropertyKey(str->d()); } - PropertyKey identifier(const QString &s); - PropertyKey identifier(const char *s, int len); + PropertyKey asPropertyKey(const QString &s); + PropertyKey asPropertyKey(const char *s, int len); - PropertyKey identifierImpl(const Heap::String *str); + PropertyKey asPropertyKeyImpl(const Heap::String *str); Heap::StringOrSymbol *resolveId(PropertyKey i) const; Q_QML_PRIVATE_EXPORT Heap::String *stringForId(PropertyKey i) const; |