aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlcontext_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2013-06-27 19:57:46 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-06-28 14:56:22 +0200
commitde7d66ba0295eba73d509e671fdda69a9bef39a6 (patch)
treec4f3c5caa82ffebc9bc08a320497a1d87dbd9146 /src/qml/qml/qqmlcontext_p.h
parent7259642e35fc8a1d354697f8b1700cbadd540870 (diff)
Convert IdentifierHash to be template based
Make it a template based class, so we can store more then just integers here and replace more StringHash'es with it. Change-Id: I21442d13c6260f184bc7b63a8a58e826699f0c83 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlcontext_p.h')
-rw-r--r--src/qml/qml/qqmlcontext_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/qml/qqmlcontext_p.h b/src/qml/qml/qqmlcontext_p.h
index 9fd9a107bc..3d31e47707 100644
--- a/src/qml/qml/qqmlcontext_p.h
+++ b/src/qml/qml/qqmlcontext_p.h
@@ -152,7 +152,7 @@ public:
void *activeVMEData;
// Property name cache
- QV4::IdentifierIntHash propertyNames;
+ QV4::IdentifierHash<int> propertyNames;
// Context object
QObject *contextObject;
@@ -198,7 +198,7 @@ public:
ContextGuard *idValues;
int idValueCount;
void setIdProperty(int, QObject *);
- void setIdPropertyData(const QV4::IdentifierIntHash &);
+ void setIdPropertyData(const QV4::IdentifierHash<int> &);
// Linked contexts. this owns linkedContext.
QQmlContextData *linkedContext;