diff options
Diffstat (limited to 'tests/auto/qml/qmllint/data/notQmlRootMethods.qml')
-rw-r--r-- | tests/auto/qml/qmllint/data/notQmlRootMethods.qml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/notQmlRootMethods.qml b/tests/auto/qml/qmllint/data/notQmlRootMethods.qml new file mode 100644 index 0000000000..6d067d572d --- /dev/null +++ b/tests/auto/qml/qmllint/data/notQmlRootMethods.qml @@ -0,0 +1,8 @@ +import QtQml + +QtObject { + id: self + + function a() { self.deleteLater(); } + function b() { self.destroyed(); } +} |