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

void QCoreApplication::removePostedEvents ( QObject receiver  )  [static]

Removes all events posted using postEvent() for receiver.

The events are not dispatched, instead they are removed from the queue. You should never need to call this function. If you do call it, be aware that killing events may cause receiver to break one or more invariants.

Definition at line 1174 of file qcoreapplication.cpp.

Referenced by QObject::~QObject(), and QWidget::~QWidget().

{
    removePostedEvents(receiver, 0);
}


Generated by  Doxygen 1.6.0   Back to index