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/qmlinstruction_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/qmlinstruction_p.h')
-rw-r--r-- | src/declarative/qml/qmlinstruction_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/qml/qmlinstruction_p.h b/src/declarative/qml/qmlinstruction_p.h index 462f9e4..01bdfdd 100644 --- a/src/declarative/qml/qmlinstruction_p.h +++ b/src/declarative/qml/qmlinstruction_p.h @@ -177,6 +177,7 @@ public: } create; struct { int data; + int slotData; } storeMeta; struct { int value; |