diff options
| author | marcin <z.krzysztoff7@gmail.com> | 2014-07-07 19:08:30 +0200 |
|---|---|---|
| committer | marcin <z.krzysztoff7@gmail.com> | 2014-07-07 19:08:30 +0200 |
| commit | 62df25ce8e090f53aef822c2b22c754fd4fca3e1 (patch) | |
| tree | cf7af7fb5e3700dc26599f46aebf6676cb832a21 /filter.h | |
| download | monzero-gui-62df25ce8e090f53aef822c2b22c754fd4fca3e1.tar.gz monzero-gui-62df25ce8e090f53aef822c2b22c754fd4fca3e1.tar.xz monzero-gui-62df25ce8e090f53aef822c2b22c754fd4fca3e1.zip | |
first push
Diffstat (limited to 'filter.h')
| -rw-r--r-- | filter.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/filter.h b/filter.h new file mode 100644 index 00000000..e9bea569 --- /dev/null +++ b/filter.h @@ -0,0 +1,24 @@ +#ifndef FILTER_H +#define FILTER_H + +#include <QObject> + +class filter : public QObject +{ + Q_OBJECT + +private: + bool m_ctrlPressed; + +public: + explicit filter(QObject *parent = 0); + +protected: + bool eventFilter(QObject *obj, QEvent *ev); + +signals: + void ctrlPressed(); + void ctrlReleased(); +}; + +#endif // FILTER_H |
