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

# QMouseDriverFactory Class Reference
[QtGui module]

The QMouseDriverFactory class creates QWSMouseHandler objects for Qtopia Core. 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 for Qtopia Core.

The graphics driver factory creates a QWSMouseHandler object for a given key with QMouseDriverFactory::create(key).

The drivers are either built-in or dynamically loaded from a driver plugin (see QMouseDriverPlugin).

This class is only available in Qtopia Core.

QMouseDriverFactory::keys() returns a list of valid keys.

## Member Function Documentation

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

Creates a QWSMouseHandler object that matches key and uses device device. This is either a built-in driver, or a driver from a driver plugin.

See also keys().

### QStringList QMouseDriverFactory::keys () `[static]`

Returns the list of keys this factory can create drivers for.

See also create().