Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

QCoreApplication::~QCoreApplication (  ) 

Destroys the QCoreApplication object.

Definition at line 469 of file qcoreapplication.cpp.

References QThread::cleanup(), and QAbstractEventDispatcher::closingDown().

{
    qt_call_post_routines();

    self = 0;
    QCoreApplicationPrivate::is_app_closing = true;
    QCoreApplicationPrivate::is_app_running = false;

#ifndef QT_NO_THREAD
    QThread::cleanup();
#endif

    d_func()->threadData->eventDispatcher = 0;
    if (QCoreApplicationPrivate::eventDispatcher)
        QCoreApplicationPrivate::eventDispatcher->closingDown();
    QCoreApplicationPrivate::eventDispatcher = 0;
}


Generated by  Doxygen 1.6.0   Back to index