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

# QMouseDriverFactory Class Reference
[QtGui module]

The QMouseDriverFactory class creates QWSMouseHandler objects. More...

    #include <QMouseDriverFactory>

- List of all members, including inherited members

### Static Public Members

- QWSMouseHandler * create ( const QString & key, const QString & device )
- QStringList keys ()

## Detailed Description

The QMouseDriverFactory class creates QWSMouseHandler objects.

Note that this class is only available in Qtopia Core.

The QWSMouseHandler class is used to implement mouse drivers. QMouseDriverFactory creates a QWSMouseHandler 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 QMouseDriverPlugin).

See also QWSMouseHandler, QMouseDriverPlugin, and Pointer Handling.

## Member Function Documentation

### QWSMouseHandler * QMouseDriverFactory::create ( const QString & key, const QString & device ) `[static]`

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

See also keys().

### QStringList QMouseDriverFactory::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: `MouseMan`, `IntelliMouse`, `Microsoft`, `VR41xx`, `LinuxTP`, `Yopy` and `Tslib`.

See also create().