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

void QInputContext::widgetDestroyed ( QWidget widget  )  [virtual]

This virtual function is called when the specified widget is destroyed. The widget is a widget on which this input context is installed.

Definition at line 306 of file qinputcontext.cpp.

References QWidget::focusWidget(), and setFocusWidget().

Referenced by QWidget::destroy().

{
    Q_D(QInputContext);
    if (widget == d->focusWidget)
        setFocusWidget(0);
}


Generated by  Doxygen 1.6.0   Back to index