BB10: onTouch

To respond to a touch event, I added the following:

onTouch: {
    navPane.deprecatedPushQmlByString ("mom_dad.qml");
}

To my amazement, when I ran the code on the dev alpha device and touched the image, it loaded mom_dad.qml five times!

This is because, I would assume, the onTouch event fires when your finger moves on the screen, and you need to limit your "click" event handler to the down event:

onTouch: {
    if (event.isDown()) {
        navPane.deprecatedPushQmlByString ("mom_dad.qml");
    }
}