Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Posts: 46
Registered: ‎03-25-2011
My Device: Blackberry Z10
My Carrier: KPN

no such signal ( touch on imageview )



a little problem here..


i'm using qml to create the pages then in c++ i do all the actions

so in my c++ code i'm doing to following:

mImageView = root->findChild<ImageView*>("latestCast");

bool res = connect(mImageView, SIGNAL(touch (bb::cascades::TouchEvent *event)), this, SLOT(latestClicked(bb::cascades::TouchEvent *event)));

to bad this is generating the following:


No such signal bb::cascades::ImageView::touch (bb::cascades::TouchEvent *event)

Any solutions for this?


Posts: 230
Registered: ‎01-12-2013
My Device: z30
My Carrier: Mobile Vikings

Re: no such signal ( touch on imageview )

The documentation says that that signal does not exist. (https://developer.blackberry.com/cascades/reference/bb__cascades__imageview.html)


You can use an ImageButton for that maybe? Then you can just listen for the click event.

BB10-OAuth: GitHub