Home · All Classes · Main Classes · Grouped Classes · Modules · Functions |
The QScreenDriverPlugin class is an abstract base class for graphics driver plugins. More...
#include <QScreenDriverPlugin>
Inherits QObject.
The QScreenDriverPlugin class is an abstract base class for graphics driver plugins.
Note that this class is only available in Qtopia Core.
QScreenDriverPlugin is a simple plugin interface that makes it easy to create custom graphics drivers that can be loaded dynamically into applications using the QScreenDriverFactory class.
Writing a custom graphics driver plugin is achieved by subclassing QScreenDriverPlugin, reimplementing the pure virtual keys() and create() functions, and exporting the class using the Q_EXPORT_PLUGIN2() macro. See How to Create Qt Plugins for details.
See also QScreen, QScreenDriverFactory, and Running Applications.
Constructs a graphics driver plugin with the given parent.
Note that this constructor is invoked automatically by the Q_EXPORT_PLUGIN2() macro, so there is no need for calling it explicitly.
Destroys this graphics driver plugin.
Note that Qt destroys a plugin automatically when it is no longer used, so there is no need for calling the destructor explicitly.
Creates a plugin matching the driver specified by the given key, using the display specified by displayId. Keys are case-insensitive.
See also keys().
Returns the list of valid keys, i.e. the screen drivers supported by this plugin.
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().
Copyright © 2006 Trolltech | Trademarks | Qt 4.1.3 |