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