diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2021-08-18 21:49:48 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2021-08-19 19:10:58 +0200 |
commit | fde6e1a18c7a282aea72e29f9318262d9e663c22 (patch) | |
tree | cabee6b1ba4b815841c5549bfe23b1b657203bea | |
parent | e42eefe0441f5ebb7e135974cd277d040220e029 (diff) |
macOS: Update QCocoaInputContext documentation
Pick-to: 6.2
Change-Id: I5ae5fe51ddc1512f2627dbc972fbb95360d7ea24
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
-rw-r--r-- | src/plugins/platforms/cocoa/qcocoainputcontext.mm | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/plugins/platforms/cocoa/qcocoainputcontext.mm b/src/plugins/platforms/cocoa/qcocoainputcontext.mm index b700551b9a..d7fd6e8998 100644 --- a/src/plugins/platforms/cocoa/qcocoainputcontext.mm +++ b/src/plugins/platforms/cocoa/qcocoainputcontext.mm @@ -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()) |