//键盘插件的实现
//MyKeyDriverPlugin.h文件
class MyKeyDriverPlugin : public QKbdDriverPlugin
{
Q_OBJECT
public:
MyKeyDriverPlugin(QObject *parent = 0);
~MyKeyDriverPlugin();
QWSKeyboardHandler *create(const QString &driver, const QString &device);
QWSKeyboardHandler *create(const QString &driver);
QStringList keys() const;
};