aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmllanguage/data/singletonTest7.qml
blob: f1d8418ac896d9cd0c14b7cf084c6161a5e185ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import QtQuick 2.0
import org.qtproject.SingletonTest 2.5

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;
}