Makefile-win32 didn't run until you had run ./configure.
[wvapps.git] / unikonf / qtutils.cc
blob49898b2c4e3701e3018fa6eb58048a852b0eef1e
1 /** Some generally useful Qt utils. */
2 #include "qtutils.moc"
4 /***** FocusObserver *****/
6 bool FocusObserver::eventFilter(QObject *obj, QEvent *event)
8 if (event->type() == QEvent::FocusIn)
9 focusIn(static_cast<QWidget*>(obj));
10 else if (event->type() == QEvent::FocusOut)
11 focusOut(static_cast<QWidget*>(obj));
12 return QObject::eventFilter(obj, event);