diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-05-05 05:54:48 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-05-05 05:54:48 (GMT) |
commit | 1b6e74a2bf4d4b1470e4e6447995cb286520f271 (patch) | |
tree | 7040070acdaf59f3ea97256371eaf73f8bf41509 /src/declarative/qml/qmlcompiler_p.h | |
parent | 21548ebbb5ababe941057df201f6eb30f1aed760 (diff) | |
download | Qt-1b6e74a2bf4d4b1470e4e6447995cb286520f271.zip Qt-1b6e74a2bf4d4b1470e4e6447995cb286520f271.tar.gz Qt-1b6e74a2bf4d4b1470e4e6447995cb286520f271.tar.bz2 |
Very basic slot declaration support
Currently only parameterless slots are supported. They are declared inline with the object:
Rect {
function mySlot() {
print("Hello world!");
}
}
Diffstat (limited to 'src/declarative/qml/qmlcompiler_p.h')
-rw-r--r-- | src/declarative/qml/qmlcompiler_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlcompiler_p.h b/src/declarative/qml/qmlcompiler_p.h index 4acdcfa..e2b8388 100644 --- a/src/declarative/qml/qmlcompiler_p.h +++ b/src/declarative/qml/qmlcompiler_p.h @@ -163,7 +163,7 @@ private: QmlParser::Value *value, int ctxt); - bool compileDynamicPropertiesAndSignals(QmlParser::Object *obj); + bool compileDynamicMeta(QmlParser::Object *obj); void compileBinding(const QString &, QmlParser::Property *prop, int ctxt, const QMetaObject *, qint64); |