aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeqt/data/isQtObject.qml
blob: 682920951894f24fb034476a3bac3d0b118a3fbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import QtQuick 2.0

QtObject {
    id: root

    property QtObject nullObject

    property bool test1: Qt.isQtObject(root)
    property bool test2: Qt.isQtObject(nullObject)
    property bool test3: Qt.isQtObject(10)
    property bool test4: Qt.isQtObject(null)
    property bool test5: Qt.isQtObject({ a: 10, b: 11 })
}