How to respond to changes in application status

Hi people,

I was wondering if anyone had some general tips on how I could implement the following.

My application needs to leave the GUI know in what state it is so that the GUI can respond to these changes in status.

Changes in status are not triggered by the user, but by other factors.

The idea I had was to have a variable of type integer that gets the value in the user interface when the application changes state.  I could then implement a timer in the GUI that checks if the variable and reacts according to the needs.

I then did think, is there a way I can send a signal to my main application logic and have called/triggered javascript function?  That would eliminate the need for a timer and make the graphical interface that is more sensitive to changes of State.  But I don't know how I could implement, if possible.

I looked through the examples, but they seem to everyone respond to a user action, like I need something to answer if/when a certain condition where arrises.

Anyone have any suggestions on how to address this problem?

Thanks in advance.

Able to understand this.

QObject::connect (this, SIGNAL (mySignal ()), root, SLOT (mySlot (()));

It makes sense today, havn't quite seized this signal-> business of slot, but I happen slowly.

Tags: BlackBerry Developers

Similar Questions

Maybe you are looking for

  • Display satellite driver 5200-902

    HelloI have a 5200-902 satellite, and I have a game wanting an update driver for NVidia.I have search on the toshiba site, but the last update is version 2003 43.36 but the video game survey 45.23 or later version.On the nvidia site, I see that the d

  • HP Pavilion P6746DE: Howto activate Options BIOS fan

    Hi HP supports, I have problem with my configuration of fan and I would like to get help with it. I replaced the system fan with a larger 120mm fan. Since then, I have the BIOS WARNING "press F1. Not a Fan of the system' (or something like that). I a

  • Soundbar for Dell monitor

    Light bar flashes but no sound

  • Is my laptop LED or LCD?

    I have a HP Pavilion Notebook PC g6-1122sl have I not LED or LCD

  • Debugging via command-line feature bb10

    Hi all Greetings to you. I am a little new app bb10 development and try to develop an app my application has modules that runs as a service and a module that uses this service every time that it is run. After running my service when I run my other mo