diff options
Diffstat (limited to 'tests/auto/qml/qqmlecmascript/data/singletontype/qobjectSingletonTypeNoQualifier.qml')
-rw-r--r-- | tests/auto/qml/qqmlecmascript/data/singletontype/qobjectSingletonTypeNoQualifier.qml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlecmascript/data/singletontype/qobjectSingletonTypeNoQualifier.qml b/tests/auto/qml/qqmlecmascript/data/singletontype/qobjectSingletonTypeNoQualifier.qml new file mode 100644 index 0000000000..50a356568e --- /dev/null +++ b/tests/auto/qml/qqmlecmascript/data/singletontype/qobjectSingletonTypeNoQualifier.qml @@ -0,0 +1,11 @@ +import QtQuick 2.0 +import Qt.test 1.0 + +QtObject { + property int qobjectPropertyTest: QObject.qobjectTestProperty + property int qobjectMethodTest: 2 + + Component.onCompleted: { + qobjectMethodTest = QObject.qobjectTestMethod(); + } +} |