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

QKbdDriverFactory Class Reference
[QtGui module]

The QKbdDriverFactory class creates QWSKeyboardHandler objects. More...

#include <QKbdDriverFactory>

Static Public Members


Detailed Description

The QKbdDriverFactory class creates QWSKeyboardHandler objects.

Note that this class is only available in Qtopia Core.

The QWSKeyboardHandler class is used to implement keyboard drivers. QKbdDriverFactory creates a QWSKeyboardHandler object using the create() function and a key identifying the driver.

The valid keys can be retrieved using the keys() function. The drivers are either built-in or dynamically loaded from a driver plugin (see QKbdDriverPlugin for details).

See also QWSKeyboardHandler, QKbdDriverPlugin, and Character Input.


Member Function Documentation

QWSKeyboardHandler * QKbdDriverFactory::create ( const QString & key, const QString & device )   [static]

Creates a QWSKeyboardHandler object for the driver specified by the given key, for the given device. The driver is either a built-in driver, or a driver plugin. Keys are case-insensitive.

See also keys().

QStringList QKbdDriverFactory::keys ()   [static]

Returns the list of valid keys, i.e. the keys this factory can create drivers for.

Qtopia Core currently supports the following drivers by default: SL5000, Yopy, VR41xx, TTY and USB.

See also create().


Copyright © 2006 Trolltech Trademarks
Qt 4.1.3