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

# QScreenDriverFactory Class Reference
[QtGui module]

The QScreenDriverFactory class creates QScreen objects. More...

    #include <QScreenDriverFactory>

- List of all members, including inherited members

### Static Public Members

- QScreen * create ( const QString & key, int displayId )
- QStringList keys ()

## Detailed Description

The QScreenDriverFactory class creates QScreen objects.

Note that this class is only available in Qtopia Core.

The QScreen class and its descendants manage the framebuffer and palette. QScreenDriverFactory creates a QScreen object using the create() function and a key identifying the driver.

The valid keys (i.e. the supported drivers) can be retrieved using the keys() function. The drivers are either built-in or dynamically loaded from a driver plugin (see QScreenDriverPlugin).

See also QScreen and QScreenDriverPlugin.

## Member Function Documentation

### QScreen * QScreenDriverFactory::create ( const QString & key, int displayId ) `[static]`

Creates a QScreen object for the driver specified by the given key using the display specified by displayId. The returned QScreen object may be created from a built-in driver, or from a driver plugin. Keys are case-insensitive.

See also keys().

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

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

Qtopia Core currently supports the following drivers by default: `QVfb` (Qtopia Core's virtual framebuffer), `LinuxFb` (The Linux framebuffer), `Transformed` (for rotated displays) and `VNC` (a VNC server).

See also create().