#include <QtGui/qevent.h> #ifndef QEVENT_H class QHideEvent: public QEvent{ /* Some contents are skipped to improve readability */ public: virtual ~QHideEvent(); /* ... */ }; #endif // QEVENT_H