blob: 4a3cc5279319d28dfbd4123e9250e3fd073fcae9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import QtQml 2.0
QtObject {
id: root
property bool testFunc;
property bool ok: false
property QtObject subObject: QtObject {
function testFunc()
{
root.ok = true
}
Component.onCompleted: testFunc()
}
}
|