Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions codeless banner

InputMethodService Class Reference
[QtInputMethodsModule]

The InputMethodService class provides the InputMethod service. More...

    #include <InputMethodService>

Inherits QtopiaIpcAdaptor.

Public Slots

Additional Inherited Members


Detailed Description

The InputMethodService class provides the InputMethod service.

The InputMethod service enables applications to adjust the input method that is being used on text entry fields.

The messages in this service are sent as ordinary QtopiaIpc messages on the QPE/InputMethod channel. The service is provided by the Qt Extended server.

Normally applications won't need to send these messages directly, as they are handled by methods in the QtopiaApplication class.

See also QtopiaApplication and QtopiaIpcEnvelope.


Member Function Documentation

void InputMethodService::changeInputMethod ()   [slot]

Activate the input method selector choice pop-up (a menu of available input methods), and give it keyboard focus.

void InputMethodService::hideInputMethod ()   [slot]

Explicitly hide the current input method.

The current input method may still indicated in the taskbar, but no longer takes up screen space, and can no longer be interacted with.

This slot corresponds to the IPC message hideInputMethod() on the QPE/InputMethod channel.

See also showInputMethod().

void InputMethodService::inputMethodHint ( int hint, int windowId )   [slot]

Set the input method hint for windowId. The valid values for hint are specified in QtopiaApplication::InputMethodHint. This method should not be used if the Named hint is requested.

This slot corresponds to the IPC message inputMethodHint(int,int) on the QPE/InputMethod channel.

void InputMethodService::inputMethodHint ( const QString & hint, int windowId )   [slot]

This is an overloaded member function, provided for convenience.

Set the input method hint for windowId. This method should be used for Named hints.

This slot corresponds to the IPC message inputMethodHint(QString,int) on the QPE/InputMethod channel.

void InputMethodService::inputMethodPasswordHint ( bool passwordFlag, int windowId )   [slot]

Set the input method passwordFlag for windowId.

void InputMethodService::setInputMethod ( const QString & inputMethodName )   [slot]

Change to the input method named inputMethodName if it exists.

void InputMethodService::setNextInputMethod ()   [slot]

Cycle to the next input method.

void InputMethodService::showInputMethod ()   [slot]

Explicitly show the current input method.

Input methods may be indicated in the taskbar by a small icon. If the input method is activated (shown) then it takes up some proportion of the bottom of the screen, to allow the user to interact (input characters) with it.

This slot corresponds to the IPC message showInputMethod() on the QPE/InputMethod channel.

See also hideInputMethod().


Copyright © 2009 Trolltech Trademarks
Qt Extended 4.4.3