diff options
author | David Boddie <dboddie@trolltech.com> | 2009-08-26 17:44:15 (GMT) |
---|---|---|
committer | axis <qt-info@nokia.com> | 2009-08-28 07:11:36 (GMT) |
commit | 6842d3385e98e9af33ee079b31ca26f12a2087d9 (patch) | |
tree | c466b2b138c66c53143e4705135850c0df7c41ee /src/gui/inputmethod | |
parent | b1015e8d7ac12d365c4b738fbee4ce12ecbaa58e (diff) | |
download | Qt-6842d3385e98e9af33ee079b31ca26f12a2087d9.zip Qt-6842d3385e98e9af33ee079b31ca26f12a2087d9.tar.gz Qt-6842d3385e98e9af33ee079b31ca26f12a2087d9.tar.bz2 |
Doc: First review of the input panel example.
Diffstat (limited to 'src/gui/inputmethod')
-rw-r--r-- | src/gui/inputmethod/qinputcontext.cpp | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/gui/inputmethod/qinputcontext.cpp b/src/gui/inputmethod/qinputcontext.cpp index 35f1b65..393a3f4 100644 --- a/src/gui/inputmethod/qinputcontext.cpp +++ b/src/gui/inputmethod/qinputcontext.cpp @@ -154,16 +154,17 @@ QInputContext::~QInputContext() } /*! - \internal 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. + context. The return value may differ from holderWidget() if the input context is shared between several text widgets. - \sa setFocusWidget(), holderWidget() + \warning To ensure platform independence and support flexible + configuration of widgets, ordinary input methods should not call + this function directly. + + \sa setFocusWidget() */ QWidget *QInputContext::focusWidget() const { @@ -173,9 +174,9 @@ QWidget *QInputContext::focusWidget() const /*! - \internal - Sets the widget that has an input focus for this input - context. Ordinary input methods must not call this function + Sets the widget that has an input focus for this input context. + + \warning Ordinary input methods must not call this function directly. \sa focusWidget() |