aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4identifiertable_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2018-06-23 23:27:14 +0200
committerLars Knoll <lars.knoll@qt.io>2018-07-02 19:29:47 +0000
commitf1703895e2fc9ec5da3a38a3ffef927a8f4ed86c (patch)
treed5bc803ce71530f0c762f82f0a73ae04cfcbc03f /src/qml/jsruntime/qv4identifiertable_p.h
parent56bff8f7abc2f0eeadd4d197667132af6eed6f3a (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.h14
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;