You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
327 B
25 lines
327 B
#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
|