| 1 |
import QtQml 2.0 |
| 2 |
|
| 3 |
QtObject { |
| 4 |
id: root |
| 5 |
|
| 6 |
property string tested |
| 7 |
signal testMe(int param1, string param2) |
| 8 |
|
| 9 |
property Connections c: Connections { |
| 10 |
target: root |
| 11 |
function onTestMe(param1, param2) { root.tested = param2 + param1 } |
| 12 |
} |
| 13 |
} |