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/qv4identifier.cpp | |
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/qv4identifier.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4identifier.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/qml/jsruntime/qv4identifier.cpp b/src/qml/jsruntime/qv4identifier.cpp index fb2e9c29c2..5db5bd46ec 100644 --- a/src/qml/jsruntime/qv4identifier.cpp +++ b/src/qml/jsruntime/qv4identifier.cpp @@ -162,7 +162,7 @@ const IdentifierHashEntry *IdentifierHash::lookup(const QString &str) const if (!d) return nullptr; - PropertyKey id = d->identifierTable->identifier(str); + PropertyKey id = d->identifierTable->asPropertyKey(str); return lookup(id); } @@ -170,7 +170,7 @@ const IdentifierHashEntry *IdentifierHash::lookup(String *str) const { if (!d) return nullptr; - PropertyKey id = d->identifierTable->identifier(str); + PropertyKey id = d->identifierTable->asPropertyKey(str); if (id.isValid()) return lookup(id); return lookup(str->toQString()); @@ -179,13 +179,13 @@ const IdentifierHashEntry *IdentifierHash::lookup(String *str) const const PropertyKey IdentifierHash::toIdentifier(const QString &str) const { Q_ASSERT(d); - return d->identifierTable->identifier(str); + return d->identifierTable->asPropertyKey(str); } const PropertyKey IdentifierHash::toIdentifier(Heap::String *str) const { Q_ASSERT(d); - return d->identifierTable->identifier(str); + return d->identifierTable->asPropertyKey(str); } QString QV4::IdentifierHash::findId(int value) const |