Add per-device output label
[multypo.git] / qt / multypo.h
index f10a5d40e947d17b2a205a2340857529eef82815..49b70b1bdf7d079d5252c97c81743e8245809d92 100644 (file)
@@ -2,6 +2,7 @@
 #define MULTIKBD_H
 
 #include <QWidget>
+#include <QMap>
 
 class QLabel;
 
@@ -15,9 +16,6 @@ public:
 
        bool handleX11Event(XEvent *event);
 
-protected:
-       virtual void showEvent (QShowEvent *);
-
 private:
        void handleKeyPress(int device, QString string);
 
@@ -25,6 +23,8 @@ private:
        bool xiInited;
        int xiOpcode;
        QLabel *mainLabel;
+
+       QMap<int, QLabel*> players;
 };
 
 #endif // MULTIKBD_H