mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-17 00:07:51 +00:00
25 lines
327 B
C
25 lines
327 B
C
|
#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
|