diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-05-26 10:17:48 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-05-26 10:17:48 (GMT) |
commit | 451c2361bca1c4419b25c1c5fe088d3315924fa5 (patch) | |
tree | 51dfed4b3f71858d6b51c9a0fefbf8bea6a8a4b1 /src/declarative/qml/qmlcompiler_p.h | |
parent | a06c0fe5a2c9eebf5e7cceb06f64e725b42715bd (diff) | |
download | Qt-451c2361bca1c4419b25c1c5fe088d3315924fa5.zip Qt-451c2361bca1c4419b25c1c5fe088d3315924fa5.tar.gz Qt-451c2361bca1c4419b25c1c5fe088d3315924fa5.tar.bz2 |
Improve error messages
Diffstat (limited to 'src/declarative/qml/qmlcompiler_p.h')
-rw-r--r-- | src/declarative/qml/qmlcompiler_p.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/declarative/qml/qmlcompiler_p.h b/src/declarative/qml/qmlcompiler_p.h index 3280866..27c4dd2 100644 --- a/src/declarative/qml/qmlcompiler_p.h +++ b/src/declarative/qml/qmlcompiler_p.h @@ -121,14 +121,6 @@ public: static bool isValidId(const QString &); static bool isAttachedProperty(const QByteArray &); - enum StoreInstructionResult { Ok, UnknownType, InvalidData, ReadOnly }; - static StoreInstructionResult - generateStoreInstruction(QmlCompiledData &data, - QmlInstruction &instr, - const QMetaProperty &prop, - int index, - int primitive, - const QString *string); private: void reset(QmlCompiledComponent *, bool); @@ -163,6 +155,11 @@ private: QmlParser::Value *value, int ctxt); + bool generateStoreInstruction(QmlInstruction &instr, + const QMetaProperty &prop, + int index, + QmlParser::Value *value); + bool compileDynamicMeta(QmlParser::Object *obj); bool compileBinding(const QString &, QmlParser::Property *prop, int ctxt, const QMetaObject *, qint64); |