diff options
Diffstat (limited to 'tests/auto/declarative/qdeclarativelanguage/data/dynamicSignalsAndSlots.qml')
-rw-r--r-- | tests/auto/declarative/qdeclarativelanguage/data/dynamicSignalsAndSlots.qml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativelanguage/data/dynamicSignalsAndSlots.qml b/tests/auto/declarative/qdeclarativelanguage/data/dynamicSignalsAndSlots.qml new file mode 100644 index 0000000..2a834e8 --- /dev/null +++ b/tests/auto/declarative/qdeclarativelanguage/data/dynamicSignalsAndSlots.qml @@ -0,0 +1,10 @@ +import Qt 4.6 +QtObject { + signal signal1 + function slot1() {} + signal signal2 + function slot2() {} + + property int test: 0 + function slot3(a) { console.log(1921); test = a; } +} |