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.

inside custom component

Native Development

Reply
Retired
Posts: 749
Registered: ‎12-16-2008
My Device: BlackBerry Z30
My Carrier: Bell

Re: Camera Invoke reply data

Well, functions can have return values. Have you seen https://developer.blackberry.com/native/documentation/cascades/dev/integrating_cpp_qml/index.html ? There are a number of ways to interact between C++ and QML.

 

You can't really just call childCardDone, that is a slot that will get called when the InvokeReply's childCardDone signal is fired. You can create another signal on your CPP object and connect to in manually in QML if yu like. Take a look at the Exposing C++ objects to QML part of that document I linked, particularily the valueChanged stuff.

Paul Bernhardt
Application Development Consultant
BlackBerry
@PBernhardt

Did this answer your question? Please accept this post as the solution.
Found a bug? Report it to the Developer Issue Tracker