QCAD Application Framework
CAD Application Development and Automation.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
REventFilter.h
Go to the documentation of this file.
1 #ifndef REVENTFILTER_H
2 #define REVENTFILTER_H
3 
4 #include <QEvent>
5 #include <QMetaType>
6 #include <QObject>
7 
11 class REventFilter : public QObject {
12  Q_OBJECT
13 
14 public:
15  REventFilter(QEvent::Type type = QEvent::None, bool forward = true);
16 
17 protected:
18  bool eventFilter(QObject *obj, QEvent *event);
19 
20 private:
21  QEvent::Type type;
22  bool forward;
23 };
24 
26 
27 #endif