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