blob: c462b90bc2c8d5e952cd1f3d211d96beb8bf6a26 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import QtQuick 2.15
Rectangle {
id: messenger
signal send( string person, string notice)
onSend: function(person, notice) {
console.log("For " + person + ", the notice is: " + notice)
}
Component.onCompleted: messenger.send("Tom", "the door is ajar.")
}
|