Hi Milad,

there is a global variable named "qApp" which is accessible from everywhere in 
your program.

Bye
Michael

________________________________________
Von: Milad Sadinam [[email protected]]
Gesendet: Montag, 8. Februar 2010 14:55
Cc: [email protected]
Betreff: [mitk-users] Access QApplication-object

Dear all,

I am implementing a functionality for the mitk-system (verison 0.12).
In my class (which is inherited from QmitkFunctionality) I am doing some
heavy processing. To still ensure that the qt-events are processed I
would like to call QApplication::processEvents() during the
calculations. But how do I get access to the QApplication-object?

Would be happy about a hint.

Milad

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to