grab all keyboard focuses on startup
[multypo.git] / qt / multypo.h
index 400d4c995eb848d19bbfeebf13d75d4bbbad6481..b9dbf3faefc1d49c7a58b000473eb679a1b63f0c 100644 (file)
@@ -3,6 +3,8 @@
 
 #include <QWidget>
 
+class QLabel;
+
 class MultypoWindow : public QWidget
 {
        Q_OBJECT
@@ -13,15 +15,13 @@ public:
 
        bool handleX11Event(XEvent *event);
 
-protected:
-       virtual void showEvent (QShowEvent *);
-
 private:
        void handleKeyPress(int device, QString string);
 
 private:
        bool xiInited;
        int xiOpcode;
+       QLabel *mainLabel;
 };
 
 #endif // MULTIKBD_H