Refactor singleton type registration code
[profile/ivi/qtdeclarative.git] / tests / auto / qml / qqmlecmascript / data / singletontype / qobjectSingletonTypeNoQualifier.qml
1 import QtQuick 2.0
2 import Qt.test 1.0
3
4 QtObject {
5     property int qobjectPropertyTest: QObject.qobjectTestProperty
6     property int qobjectMethodTest: 2
7
8     Component.onCompleted: {
9         qobjectMethodTest = QObject.qobjectTestMethod();
10     }
11 }