#include <QtGui/qevent.h> #ifndef QEVENT_H class QFocusEvent: public QEvent{ /* Some contents are skipped to improve readability */ public: QFocusEvent(enum QEvent::Type type, enum Qt::FocusReason reason = Qt::OtherFocusReason); /* ... */ }; #endif // QEVENT_H