summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2009-08-28 07:12:08 (GMT)
committeraxis <qt-info@nokia.com>2009-08-28 07:12:08 (GMT)
commit1d5d0ea68cba0184d4d0efebb7fa9122d9495614 (patch)
tree2f11cc1ab4ee5c314424e73cddd2733629934f6a /src/gui
parent1e982527668ea168f12875fda4ecc56ae017d7b3 (diff)
parent813b040339b965ce31a0e7115fdee50d1d9e7ffd (diff)
downloadQt-1d5d0ea68cba0184d4d0efebb7fa9122d9495614.zip
Qt-1d5d0ea68cba0184d4d0efebb7fa9122d9495614.tar.gz
Qt-1d5d0ea68cba0184d4d0efebb7fa9122d9495614.tar.bz2
Merge branch 'inputPanelExample' into 4.6
Diffstat (limited to 'src/gui')
-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 27888ac..992bc78 100644
--- a/src/gui/inputmethod/qinputcontext.cpp
+++ b/src/gui/inputmethod/qinputcontext.cpp
@@ -156,16 +156,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
{
@@ -175,9 +176,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()