import Qt 4.7 MouseArea { width: 100; height: 100 Component.onCompleted: { console.log(typeof(pressed)); } }