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

BlackBerry Push Development

Reply
Contributor
maheshkumar1990
Posts: 44
Registered: ‎01-07-2013
My Device: 9300

Re: Push Notification in Blackberry 10 cascades

Hi,

    am getting error in these two line

Time mainApp;
QObject::connect(&app, SIGNAL(fullscreen()), &mainApp, SLOT(onFullscreen()));

Retired
mdandrea
Posts: 311
Registered: ‎08-08-2012
My Device: BlackBerry Z10

Re: Push Notification in Blackberry 10 cascades

What's the exact error you're getting?

Contributor
maheshkumar1990
Posts: 44
Registered: ‎01-07-2013
My Device: 9300

Re: Push Notification in Blackberry 10 cascades

Hi,

    error is no matching function for call to 'Time ::Time()', in the line 

    Time  mainApp;

 

Retired
mdandrea
Posts: 311
Registered: ‎08-08-2012
My Device: BlackBerry Z10

Re: Push Notification in Blackberry 10 cascades

Is this Time class your own class or a Cascades one?

 

Your issue does not sound push specific so you might want to ask your Cascades related questions on the Cascades forum:

http://supportforums.blackberry.com/t5/Cascades-Development/bd-p/Cascades

 

I'm not a C++ expert myself, but it looks like you're missing a default constructor for your Time class.

 

Matt

Contributor
maheshkumar1990
Posts: 44
Registered: ‎01-07-2013
My Device: 9300

Re: Push Notification in Blackberry 10 cascades

[ Edited ]

Hi Matt,

           Thanks for reply, i get error this when i integrate push collector coding into my application , is there any way to implement push notification easier

Thanks

Retired
mdandrea
Posts: 311
Registered: ‎08-08-2012
My Device: BlackBerry Z10

Re: Push Notification in Blackberry 10 cascades

Are you trying to integrate push into your existing Cascades app or write a brand new app that uses push?