Initial import from the monolithic Qt.
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qdeclarativeqt / data / isQtObject.qml
1 import QtQuick 1.0
2
3 QtObject {
4     id: root
5
6     property QtObject nullObject
7
8     property bool test1: Qt.isQtObject(root)
9     property bool test2: Qt.isQtObject(nullObject)
10     property bool test3: Qt.isQtObject(10)
11     property bool test4: Qt.isQtObject(null)
12     property bool test5: Qt.isQtObject({ a: 10, b: 11 })
13 }
14