Qt:Документация 4.3.2/qwsinputmethod-obsolete
Материал из Wiki.crossplatform.ru
Внимание: Актуальная версия перевода документации находится здесь |
__NOTOC__
Главная · Все классы · Основные классы · Классы по группам · Модули · Функции |
Содержание |
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.
Защищенные функции
- void sendIMEvent ( QWSServer::IMState state, const QString & text, int cursorPosition, int selectionLength = 0 ) (obsolete)
Описание функций-членов
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 © 2007 Trolltech | Trademarks | Qt 4.3.2
|