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

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