summaryrefslogtreecommitdiffstats
path: root/src/gui/inputmethod
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2009-08-26 17:44:15 (GMT)
committeraxis <qt-info@nokia.com>2009-08-28 07:11:36 (GMT)
commit6842d3385e98e9af33ee079b31ca26f12a2087d9 (patch)
treec466b2b138c66c53143e4705135850c0df7c41ee /src/gui/inputmethod
parentb1015e8d7ac12d365c4b738fbee4ce12ecbaa58e (diff)
downloadQt-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.cpp17
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()