18 #include <QApplication>
24 mWidgetToKeepFocused->installEventFilter(
this );
29 mWidgetToKeepFocused->removeEventFilter(
this );
34 if ( obj == mWidgetToKeepFocused && event &&
35 ( event->type() == QEvent::FocusOut || event->type() == QEvent::FocusAboutToChange ) )
39 return QObject::eventFilter( obj, event );