blob: 42487313148daefded20d623b171111bb51bf835 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
import QtQuick 2.0
import "singleton"
Item {
id: test
property int value1: SingletonType.testProp1;
property string value2: "Test value: " + SingletonType.testProp3;
signal customSignal(SingletonType type)
onCustomSignal: {
type.testProp1 = 99
}
Component.onCompleted: test.customSignal(SingletonType)
}
|