aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlcontext_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2013-06-27 16:47:06 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-06-28 14:56:20 +0200
commit7259642e35fc8a1d354697f8b1700cbadd540870 (patch)
tree72253c00d19777677007eae052af1f1b5b0c186b /src/qml/qml/qqmlcontext_p.h
parentf418bbb8836a648bdd08728e88323a4c8db9140c (diff)
Get rid of QQmlIntegerCache
Replace by the new IdentifierIntHash. Change-Id: Ib210cd898a30ad3e2f9349387e1a74d92ed5f831 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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qml/qml/qqmlcontext_p.h b/src/qml/qml/qqmlcontext_p.h
index 0a0720a99d..9fd9a107bc 100644
--- a/src/qml/qml/qqmlcontext_p.h
+++ b/src/qml/qml/qqmlcontext_p.h
@@ -56,7 +56,6 @@
#include "qqmlcontext.h"
#include "qqmldata_p.h"
-#include "qqmlintegercache_p.h"
#include "qqmltypenamecache_p.h"
#include "qqmlnotifier_p.h"
#include "qqmllist.h"
@@ -70,6 +69,7 @@
#include <private/qflagpointer_p.h>
#include <private/qqmlguard_p.h>
+#include <private/qv4identifier_p.h>
QT_BEGIN_NAMESPACE
@@ -152,7 +152,7 @@ public:
void *activeVMEData;
// Property name cache
- QQmlIntegerCache *propertyNames;
+ QV4::IdentifierIntHash propertyNames;
// Context object
QObject *contextObject;
@@ -198,7 +198,7 @@ public:
ContextGuard *idValues;
int idValueCount;
void setIdProperty(int, QObject *);
- void setIdPropertyData(QQmlIntegerCache *);
+ void setIdPropertyData(const QV4::IdentifierIntHash &);
// Linked contexts. this owns linkedContext.
QQmlContextData *linkedContext;