#include <QtGui/qevent.h> #ifndef QEVENT_H class QFocusEvent: public QEvent{ /* Some contents are skipped to improve readability */ private: enum Qt::FocusReason m_reason; /* ... */ }; #endif // QEVENT_H