QmlJS: Rename QmlObjectValue -> CppComponentValue.

Reviewed-by: Fawzi Mohamed
Reviewed-by: Thomas Hartmann
Change-Id: Ib89388d5a5678403e4637eec5829f3520637ee27
Reviewed-on: http://codereview.qt-project.org/6310
Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com>
Sanity-Review: Christian Kamm <christian.d.kamm@nokia.com>
This commit is contained in:
Christian Kamm
2011-10-10 10:32:33 +02:00
parent 8c94325a03
commit 90925c69f6
10 changed files with 125 additions and 125 deletions

View File

@@ -94,7 +94,7 @@ class CollectStateNames : protected Visitor
QStringList m_stateNames;
bool m_inStateType;
ScopeChain m_scopeChain;
const QmlObjectValue *m_statePrototype;
const CppComponentValue *m_statePrototype;
public:
CollectStateNames(const ScopeChain &scopeChain)
@@ -138,7 +138,7 @@ protected:
PrototypeIterator it(v, m_scopeChain.context());
while (it.hasNext()) {
const ObjectValue *proto = it.next();
const QmlObjectValue *qmlProto = dynamic_cast<const QmlObjectValue *>(proto);
const CppComponentValue *qmlProto = dynamic_cast<const CppComponentValue *>(proto);
if (!qmlProto)
continue;
if (qmlProto->metaObject() == m_statePrototype->metaObject())