1 import Qt 4.7
2
3 QtObject {
4 function calculate() {
5 return b * 13;
6 }
7
8 property int a: calculate()
9 property int b: 3
10 }
11