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