blob: 0c5c65cc7a643153c20672ce9eae78b31f15af81 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import QtQuick 2.0
import org.qtproject.SingletonTest 1.0
Item {
property int value1: SingletonType.testProp1;
property string value2: "Test value: " + SingletonType.testProp3;
property variant singletonInstance: SingletonType;
NonSingletonType { id: nonSingleton }
property int value3: nonSingleton.testProp1;
property string value4: "Test value: " + nonSingleton.testProp3;
}
|