import Qt 4.6 import Qt.test 1.0 MyRectangle { id: rect onDidSomething: color = "blue" width: 100; height: 100 ExtendedRectangle {} }