QEventLoopLocker ClassThe QEventLoopLocker class provides a means to quit an event loop when it is no longer needed. More... #include <QEventLoopLocker>
Public Functions
Detailed DescriptionThe QEventLoopLocker class provides a means to quit an event loop when it is no longer needed. The QEventLoopLocker operates on particular objects - either a QCoreApplication instance, a QEventLoop instance or a QThread instance. This makes it possible to, for example, run a batch of jobs with an event loop and exit that event loop after the last job is finished. That is accomplished by keeping a QEventLoopLocker with each job instance. The variant which operates on QCoreApplication makes it possible to finish asynchronously running jobs after the last gui window has been closed. This can be useful for example for running a job which uploads data to a network. See also QEventLoop and QCoreApplication. Member Function Documentation
|