Qt 4.8
|
The QKbdDriverFactory class creates keyboard drivers in Qt for Embedded Linux. More...
#include <qkbddriverfactory_qws.h>
Static Public Functions | |
static QWSKeyboardHandler * | create (const QString &, const QString &) |
static QStringList | keys () |
Returns the list of valid keys, i.e. More... | |
The QKbdDriverFactory class creates keyboard drivers in Qt for Embedded Linux.
Note that this class is only available in Qt for Embedded Linux.
QKbdDriverFactory is used to detect and instantiate the available keyboard drivers, allowing Qt for Embedded Linux to load the preferred driver into the server application at runtime. The create() function returns a QWSKeyboardHandler object representing the keyboard 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 keyboard drivers. In addition, custom keyboard drivers can be added using Qt's plugin mechanism, i.e. by subclassing the QWSKeyboardHandler class and creating a keyboard driver plugin (QKbdDriverPlugin). See the Qt for Embedded Linux Character Input{character input} documentation for details.
Definition at line 58 of file qkbddriverfactory_qws.h.
|
static |
Referenced by QWSServer::openKeyboard().
|
static |
Returns the list of valid keys, i.e.
the available keyboard drivers.
Definition at line 155 of file qkbddriverfactory_qws.cpp.