summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlcompiler_p.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-05-27 03:41:53 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-05-27 03:41:53 (GMT)
commite4e735ea8c5ae8e65668938d7af2fb11e1cb6c0e (patch)
tree5073fa9433a31baa06df3fbce781eeeb4a2ba942 /src/declarative/qml/qmlcompiler_p.h
parent65ba2e6f8a57058305e4ca3bdf77c4e8fed3c243 (diff)
downloadQt-e4e735ea8c5ae8e65668938d7af2fb11e1cb6c0e.zip
Qt-e4e735ea8c5ae8e65668938d7af2fb11e1cb6c0e.tar.gz
Qt-e4e735ea8c5ae8e65668938d7af2fb11e1cb6c0e.tar.bz2
Simplify and comment compiler
Diffstat (limited to 'src/declarative/qml/qmlcompiler_p.h')
-rw-r--r--src/declarative/qml/qmlcompiler_p.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/declarative/qml/qmlcompiler_p.h b/src/declarative/qml/qmlcompiler_p.h
index 27c4dd2..bc9e06c 100644
--- a/src/declarative/qml/qmlcompiler_p.h
+++ b/src/declarative/qml/qmlcompiler_p.h
@@ -119,7 +119,8 @@ public:
QList<QmlError> errors() const;
static bool isValidId(const QString &);
- static bool isAttachedProperty(const QByteArray &);
+ static bool isAttachedPropertyName(const QByteArray &);
+ static bool isSignalPropertyName(const QByteArray &);
private:
void reset(QmlCompiledComponent *, bool);
@@ -154,11 +155,9 @@ private:
QmlParser::Object *obj,
QmlParser::Value *value,
int ctxt);
-
- bool generateStoreInstruction(QmlInstruction &instr,
- const QMetaProperty &prop,
- int index,
- QmlParser::Value *value);
+ bool compileStoreInstruction(QmlInstruction &instr,
+ const QMetaProperty &prop,
+ QmlParser::Value *value);
bool compileDynamicMeta(QmlParser::Object *obj);
bool compileBinding(const QString &, QmlParser::Property *prop,