1 2 3 4 5 6 7 8
import QtQml 2.0 QtObject { property int testValue: -1 property int subValue; onSubValueChanged: { testValue = this.someExpression } }