--- /dev/null
+#ifndef MULTIKBD_H
+#define MULTIKBD_H
+
+#include <QWidget>
+
+namespace Ui {
+class MultiKBD;
+}
+
+class MultiKBD : public QWidget
+{
+ Q_OBJECT
+
+public:
+ explicit MultiKBD(QWidget *parent = 0);
+ ~MultiKBD();
+
+ bool handleX11Event(XEvent *event);
+
+protected:
+ virtual void showEvent (QShowEvent *);
+
+private:
+ void handleKeyPress(int device, const char *string);
+
+private:
+ Ui::MultiKBD *ui;
+ bool xiInited;
+ int xiOpcode;
+};
+
+#endif // MULTIKBD_H