Obsolete Members for QWSInputMethod

The following members of class QWSInputMethod are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

Protected Functions

(obsolete) void sendIMEvent(QWSServer::IMState state, const QString & text, int cursorPosition, int selectionLength = 0)

Member Function Documentation

[protected] void QWSInputMethod::sendIMEvent(QWSServer::IMState state, const QString & text, int cursorPosition, int selectionLength = 0)

Sends a QInputMethodEvent object to the focus widget.

If the specified state is QWSServer::IMCompose, text is a preedit string, cursorPosition is the cursor's position within the preedit string, and selectionLength is the number of characters (starting at cursorPosition) that should be marked as selected by the input widget receiving the event. If the specified state is QWSServer::IMEnd, text is a commit string.

Use sendEvent(), sendPreeditString() or sendCommitString() instead.

© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.