summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeqt/data/isQtObject.qml
blob: 0f573c403f12ef4471b6bebeeb85b2e1853f0f1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import Qt 4.7

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