The QMouseDriverFactory class creates mouse drivers in Qt for Embedded Linux. More...
#include <QMouseDriverFactory>
QWSMouseHandler * | create ( const QString & key, const QString & device ) |
QStringList | keys () |
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 pointer handling documentation for details.
See also QWSMouseHandler and QMouseDriverPlugin.
Creates the mouse driver specified by the given key, using the display specified by the given device.
Note that the keys are case-insensitive.
See also keys().
Returns the list of valid keys, i.e. the available mouse drivers.
See also create().
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.