summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeqt/data/isQtObject.qml
blob: 37b952d44859f23212f1614a2816d239029d2d97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import QtQuick 1.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 })
}