Home · All Classes · Main Classes · Grouped Classes · Modules · Functions |
The QKbdDriverPlugin class is an abstract base class for keyboard driver plugins. More...
#include <QKbdDriverPlugin>
Inherits QObject.
The QKbdDriverPlugin class is an abstract base class for keyboard driver plugins.
Note that this class is only available in Qtopia Core.
QKbdDriverPlugin is a simple plugin interface that makes it easy to create custom keyboard drivers that can be loaded dynamically into applications using the QKbdDriverFactory class.
Writing a custom keyboard driver plugin is achieved by subclassing QKbdDriverPlugin, 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 QKbdDriverFactory, QWSKeyboardHandler, and Character Input.
Constructs a keyboard 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 the keyboard 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 driver matching the type specified by the given key and device parameters. Keys are case-insensitive.
See also keys().
Returns the list of valid keys, i.e. the keyboard drivers supported by this plugin.
Qtopia Core currently supports the following drivers by default: SL5000, Yopy, VR41xx, TTY and USB.
See also create().
Copyright © 2006 Trolltech | Trademarks | Qt 4.1.3 |