Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Cascades Development

Reply
Contributor
xtravanta
Posts: 45
Registered: ‎03-25-2011
My Carrier: KPN

no such signal ( touch on imageview )

Hi,

 

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?

thx

Please use plain text.
Developer
Curahee
Posts: 125
Registered: ‎01-12-2013
My Carrier: -

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.

______________________________________________________
Voetbal afgelast in België? Check at AppWorld
Look up the train hours in Belgium? Check #beRail at App World.
Please use plain text.