Mapped rocker switch to favorite keysets
[pierogi] / pirapplication.h
diff --git a/pirapplication.h b/pirapplication.h
new file mode 100644 (file)
index 0000000..16d4194
--- /dev/null
@@ -0,0 +1,27 @@
+#ifndef PIRAPPLICATION_H
+#define PIRAPPLICATION_H
+
+#include <QApplication>
+
+class QWidget;
+
+class PIRApplication: public QApplication
+{
+  Q_OBJECT
+public:
+  PIRApplication(
+    int &argc,
+    char **argv);
+
+  void setupRockerSwitch(
+    QWidget *window);
+
+  virtual bool x11EventFilter(
+    XEvent *event);
+
+signals:
+  void increaseRockerPressed();
+  void decreaseRockerPressed();
+};
+
+#endif // PIRAPPLICATION_H