import Qt 4.6 QtObject { property bool runTest: false onRunTestChanged: test1 = undefined property variant test1: 10 property variant test2: (runTest == false)?11:undefined }