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

QWidget * QInputContext::focusWidget (  )  const

For internal use only.

Returns the widget that has an input focus for this input context. Ordinary input methods should not call this function directly to keep platform independence and flexible configuration possibility.

The return value may differ from holderWidget() if the input context is shared between several text widgets.

See also:
setFocusWidget(), holderWidget()

Definition at line 153 of file qinputcontext.cpp.

Referenced by sendEvent(), and standardFormat().

{
    Q_D(const QInputContext);
    return d->focusWidget;
}


Generated by  Doxygen 1.6.0   Back to index