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

bool QX11EmbedWidget::event ( QEvent event  )  [protected, virtual]

Reimplemented from QWidget.

Definition at line 888 of file qx11embed_x11.cpp.

References QWidget::event(), QWidget::internalWinId(), and QEvent::type().

{
    if (event->type() == QEvent::ParentChange) {
        XSelectInput(x11Info().display(), internalWinId(),
                     KeyPressMask | KeyReleaseMask | ButtonPressMask
                     | ButtonReleaseMask
                     | KeymapStateMask | ButtonMotionMask | PointerMotionMask
                     | FocusChangeMask
                     | ExposureMask | StructureNotifyMask
                     | SubstructureNotifyMask | PropertyChangeMask);
    }
    return QWidget::event(event);
}


Generated by  Doxygen 1.6.0   Back to index