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

Regular Contributor
Posts: 76
Registered: ‎06-14-2013
My Device: Z10
My Carrier: PosteMobile

SystemProgressDialog: Signal finished(bb::system::SystemUiResult::Type) never called



I'm having problems to connect a signal from a SystemProgressDialog object to QThread derived class object.

The connect call it's:

    connect(SpinningWheelDialog , SIGNAL(finished(bb::system:Smiley FrustratedystemUiResult::Type) ) , this , SLOT(terminateNotification(bb::system:Smiley FrustratedystemUiResult::Type) ) );


The SpinningWheelDialog object is a SystemProgressDialog;
The class this is the QThread derived one and the connect it's invoked in the constructor of this class.

There are no error both at compilation and runtime, so i suppose the code is correct. It simply doesn't work. When a button is clicked the Dialog disappear but the slot method is not called.


I want the thread to be terminated when the Dialog is closed or destroyed.

Any help is appreciated.

Posts: 6,152
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30
My Carrier: Orange

Re: SystemProgressDialog: Signal finished(bb::system::SystemUiResult::Type) never called

It's advised not to derive QThread any more, take a look here...




The Thread Support section has some example code which you should easily be able to adapt to your code.


If you've been helped click on Like Button, if you've been saved buy the app. Smiley Happy

Developer of stokLocker, Sympatico and Super Sentences.