macOS: Update QCocoaInputContext documentation

Pick-to: 6.2
Change-Id: I5ae5fe51ddc1512f2627dbc972fbb95360d7ea24
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
Tor Arne Vestbø 2021-08-18 21:49:48 +02:00
parent e42eefe044
commit fde6e1a18c

View File

@ -57,8 +57,8 @@ QT_BEGIN_NAMESPACE
\class QCocoaInputContext
\brief Cocoa Input context implementation
Handles input of foreign characters (particularly East Asian)
languages.
Handles input of languages that support character composition,
for example East Asian languages.
\section1 Testing
@ -74,12 +74,10 @@ QT_BEGIN_NAMESPACE
\section1 Interaction
Input method support in Cocoa uses NSTextInput protorol. Therefore
almost all functionality is implemented in QNSView.
Input method support in Cocoa is based on the NSTextInputClient protocol,
therefore almost all functionality is in QNSView (qnsview_complextext.mm).
*/
QCocoaInputContext::QCocoaInputContext()
: QPlatformInputContext()
, m_focusWindow(QGuiApplication::focusWindow())