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

void QCoreApplication::sendPostedEvents ( QObject receiver,
int  event_type 
) [static]

Immediately dispatches all events which have been previously queued with QCoreApplication::postEvent() and which are for the object receiver and have the event type event_type.

Note that events from the window system are not dispatched by this function, but by processEvents().

If receiver is null, the events of event_type are sent for all objects. If event_type is 0, all the events are sent for receiver.

See also:
flush(), postEvent()

Definition at line 1005 of file qcoreapplication.cpp.

{
    QThreadData *data = QThreadData::current();

    QCoreApplicationPrivate::sendPostedEvents(receiver, event_type, data);
}


Generated by  Doxygen 1.6.0   Back to index