summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativecompiler_p.h
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-06-25 06:37:28 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-06-25 06:37:28 (GMT)
commit03df7f73de6a1fd482876caaf377a61593df8a38 (patch)
treec9e70014c4646d3b1b2a02369862a6557c87e15e /src/declarative/qml/qdeclarativecompiler_p.h
parentc91030e308f8cd9ad66e7de127a1f9dbbedd11d3 (diff)
downloadQt-03df7f73de6a1fd482876caaf377a61593df8a38.zip
Qt-03df7f73de6a1fd482876caaf377a61593df8a38.tar.gz
Qt-03df7f73de6a1fd482876caaf377a61593df8a38.tar.bz2
Test ListElement type via type system, not string comparison.
Task-number: QTBUG-11222 Reviewed-by: Aaron Kennedy
Diffstat (limited to 'src/declarative/qml/qdeclarativecompiler_p.h')
-rw-r--r--src/declarative/qml/qdeclarativecompiler_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/qml/qdeclarativecompiler_p.h b/src/declarative/qml/qdeclarativecompiler_p.h
index 908c703..caad376 100644
--- a/src/declarative/qml/qdeclarativecompiler_p.h
+++ b/src/declarative/qml/qdeclarativecompiler_p.h
@@ -161,6 +161,7 @@ public:
static bool isSignalPropertyName(const QByteArray &);
int evaluateEnum(const QByteArray& script) const; // for QDeclarativeCustomParser::evaluateEnum
+ const QMetaObject *resolveType(const QByteArray& name) const; // for QDeclarativeCustomParser::resolveType
private:
static void reset(QDeclarativeCompiledData *);