aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativevaluetypes/data/returnValues.qml
blob: f1c185589c9a6139aa6a9de046f2a54edded1a7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import Test 1.0
import QtQuick 1.0

MyTypeObject {
    property bool test1: false;
    property bool test2: false;

    Component.onCompleted: {
        var a = method();

        test1 = (a.width == 13)
        test2 = (a.height == 14)

        size = a;
    }
}