Qt 4.8
|
The QMouseDriverFactory class creates mouse drivers in Qt for Embedded Linux. More...
#include <qmousedriverfactory_qws.h>
Static Public Functions | |
static QWSMouseHandler * | create (const QString &, const QString &) |
static QStringList | keys () |
Returns the list of valid keys, i.e. More... | |
The QMouseDriverFactory class creates mouse drivers in Qt for Embedded Linux.
Note that this class is only available in Qt for Embedded Linux.
QMouseDriverFactory is used to detect and instantiate the available mouse drivers, allowing Qt for Embedded Linux to load the preferred driver into the server application at runtime. The create() function returns a QWSMouseHandler object representing the mouse driver identified by a given key. The valid keys (i.e. the supported drivers) can be retrieved using the keys() function.
Qt for Embedded Linux provides several built-in mouse drivers. In addition, custom mouse drivers can be added using Qt's plugin mechanism, i.e. by subclassing the QWSMouseHandler class and creating a mouse driver plugin (QMouseDriverPlugin). See the Qt for Embedded Linux Pointer Handling{pointer handling} documentation for details.
Definition at line 56 of file qmousedriverfactory_qws.h.
|
static |
Referenced by QWSServerPrivate::newMouseHandler().
|
static |
Returns the list of valid keys, i.e.
the available mouse drivers.
Definition at line 161 of file qmousedriverfactory_qws.cpp.