Home · All Classes · Main Classes · Grouped Classes · Modules · Functions

Obsolete Members for QWSInputMethod

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

Protected Functions


Member Function Documentation

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

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.


Copyright © 2006 Trolltech Trademarks
Qt 4.1.3