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

VirtualKeyboardService Class Reference
[QtBaseModule]

The VirtualKeyboardService class provides a service to simulate keypresses on a device. More...

    #include <VirtualKeyboardService>

Inherits QtopiaAbstractService.

Public Slots

Additional Inherited Members


Detailed Description

The VirtualKeyboardService class provides a service to simulate keypresses on a device.

The VirtualKeyboard service provided by the VirtualKeyboardService class allows applications to cause the equivalent of physical keypresses on a device.

The VirtualKeyboardService class provides the VirtualKeyboard task. It is part of the Qt Extended server and cannot be used by other Qt Extended applications.


Member Function Documentation

void VirtualKeyboardService::keyPress ( int key )   [slot]

Simulate the press and release of key. This is equivalent to calling the QtopiaInputEvents::processKeyEvent() method for a press and then a release.

This slot corresponds to the QCop service message VirtualKeyboard::keyPress(int).

void VirtualKeyboardService::keyPress ( QString keySequence )   [slot]

This is an overloaded member function, provided for convenience.

Simulate the press and release of keySequence. This is equivalent to calling the QtopiaInputEvents::processKeyEvent() method for a press and then a release.

This slot corresponds to the QCop service message VirtualKeyboard::keyPress(QString).

See also QKeySequence.

void VirtualKeyboardService::processKeyEvent ( int unicode, int keycode, int modifiers, bool isPress, bool autoRepeat )   [slot]

Process a key event consisting of unicode, keycode, modifiers, isPress, and autoRepeat.

This slot corresponds to the QCop service message VirtualKeyboard::processKeyEvent(int,int,int,bool,bool).

void VirtualKeyboardService::sendKeyEvent ( int unicode, int keycode, int modifiers, bool isPress, bool autoRepeat )   [slot]

Send a key event consisting of unicode, keycode, modifiers, isPress, and autoRepeat.

This slot corresponds to the QCop service message VirtualKeyboard::sendKeyEvent(int,int,int,bool,bool).


Copyright © 2009 Trolltech Trademarks
Qt Extended 4.4.3