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

bool QCoreApplication::filterEvent ( void *  message,
long *  result 
) [inherited]

Sends message through the event filter that was set by setEventFilter(). If no event filter has been set, this function returns false; otherwise, this function returns the result of the event filter function in the result parameter.

See also:

Definition at line 2205 of file qcoreapplication.cpp.

    if (result)
        *result = 0;
    if (d->eventFilter)
        return d->eventFilter(message, result);
#ifdef Q_OS_WIN
    return winEventFilter(reinterpret_cast<MSG *>(message), result);
    return false;

Generated by  Doxygen 1.6.0   Back to index