summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativecompiler_p.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-10-14 04:41:15 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-10-14 04:41:15 (GMT)
commit896cf6f1523afcf5237efc1ca135672ca3cb8058 (patch)
tree4ccb37d1b9ec6fbea2079c41d5c2fc9b08215d7b /src/declarative/qml/qdeclarativecompiler_p.h
parent6fb13041677f00884746e7bc36e2c73f3fc5c991 (diff)
downloadQt-896cf6f1523afcf5237efc1ca135672ca3cb8058.zip
Qt-896cf6f1523afcf5237efc1ca135672ca3cb8058.tar.gz
Qt-896cf6f1523afcf5237efc1ca135672ca3cb8058.tar.bz2
Optimization: Don't generate intermediate QDeclarativeComponent's
Diffstat (limited to 'src/declarative/qml/qdeclarativecompiler_p.h')
-rw-r--r--src/declarative/qml/qdeclarativecompiler_p.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/declarative/qml/qdeclarativecompiler_p.h b/src/declarative/qml/qdeclarativecompiler_p.h
index 89eef09..43a0901 100644
--- a/src/declarative/qml/qdeclarativecompiler_p.h
+++ b/src/declarative/qml/qdeclarativecompiler_p.h
@@ -93,10 +93,11 @@ public:
QByteArray className;
QDeclarativeType *type;
- QDeclarativeComponent *component;
+// QDeclarativeComponent *component;
+ QDeclarativeCompiledData *component;
QDeclarativeRefCount *ref;
- QObject *createInstance(QDeclarativeContextData *, const QBitField &) const;
+ QObject *createInstance(QDeclarativeContextData *, const QBitField &, QList<QDeclarativeError> *) const;
const QMetaObject *metaObject() const;
};
QList<TypeReference> types;