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

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

For internal use only.

Sets the widget that has an input focus for this input context. Ordinary input methods must not call this function directly.

See also:

Definition at line 168 of file qinputcontext.cpp.

References QWidget::testAttribute().

Referenced by widgetDestroyed().

    Q_ASSERT(!widget || widget->testAttribute(Qt::WA_InputMethodEnabled));
    d->focusWidget = widget;

Generated by  Doxygen 1.6.0   Back to index