1 2 3 4 5 6
import QtQml QtObject { property var testObj function use() { return testObj.has(1) ? 25 : 26; } }