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

bool QCoreApplication::hasPendingEvents (  )  [static]

This function returns true if there are pending events; otherwise returns false. Pending events can be either from the window system or posted events using postEvent().

See also:

Definition at line 1996 of file qcoreapplication.cpp.

References QAbstractEventDispatcher::hasPendingEvents(), and QAbstractEventDispatcher::instance().

    QAbstractEventDispatcher *eventDispatcher = QAbstractEventDispatcher::instance();
    if (eventDispatcher)
        return eventDispatcher->hasPendingEvents();
    return false;

Generated by  Doxygen 1.6.0   Back to index