diff options
author | Lars Knoll <lars.knoll@digia.com> | 2013-06-27 22:43:47 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-06-28 14:56:26 +0200 |
commit | b83abcb398c2c449bfa4ada2172e890b56b8602c (patch) | |
tree | 19f4f6ed3af874dc0b539fc04f1a17b70fe40a75 /src/qml/qml/v8/qv8engine_p.h | |
parent | de7d66ba0295eba73d509e671fdda69a9bef39a6 (diff) |
Convert QV8Engine::illegalNames() to use the identifier hash
Change-Id: I436c2a17e417cb311f10290a4cc6e5b728b4b7be
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/qml/v8/qv8engine_p.h')
-rw-r--r-- | src/qml/qml/v8/qv8engine_p.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/qml/qml/v8/qv8engine_p.h b/src/qml/qml/v8/qv8engine_p.h index c1244d2005..4c2cccd28d 100644 --- a/src/qml/qml/v8/qv8engine_p.h +++ b/src/qml/qml/v8/qv8engine_p.h @@ -72,6 +72,7 @@ #include <private/qv4qobjectwrapper_p.h> #include <private/qv4value_p.h> #include <private/qv4object_p.h> +#include <private/qv4identifier_p.h> QT_BEGIN_NAMESPACE @@ -222,7 +223,7 @@ public: virtual QNetworkAccessManager *networkAccessManager(); // Return the list of illegal id names (the names of the properties on the global object) - const QStringHash<bool> &illegalNames() const; + const QV4::IdentifierHash<bool> &illegalNames() const; inline void collectGarbage() { gc(); } void gc(); @@ -274,7 +275,7 @@ protected: QVector<Deletable *> m_extensionData; Deletable *m_listModelData; - QStringHash<bool> m_illegalNames; + QV4::IdentifierHash<bool> m_illegalNames; QElapsedTimer m_time; QHash<QString, qint64> m_startedTimers; |