2021-11-23 18:00:29 +00:00
|
|
|
import QtQml
|
|
|
|
import TestTypes
|
2021-12-10 13:27:06 +00:00
|
|
|
import Ambiguous 1.2
|
2021-11-23 18:00:29 +00:00
|
|
|
|
|
|
|
QtObject {
|
|
|
|
property string attachedForNonObject: objectName.Component.objectName
|
|
|
|
property string attachedForNasty: Nasty.objectName
|
|
|
|
|
|
|
|
property Nasty nasty: Nasty {
|
|
|
|
objectName: Component.objectName
|
|
|
|
}
|
|
|
|
|
|
|
|
onFooBar: console.log("nope")
|
|
|
|
|
|
|
|
function doesReturnValue() { return 5; }
|
2021-12-10 13:27:06 +00:00
|
|
|
|
|
|
|
property Thing thing: Thing {
|
|
|
|
property int b: a + 1
|
|
|
|
}
|
|
|
|
|
|
|
|
property NotHere here: NotHere {
|
|
|
|
property int c: b + 1
|
|
|
|
}
|
2021-11-23 18:00:29 +00:00
|
|
|
}
|