#include <QtGui/qevent.h> #ifndef QEVENT_H class QResizeEvent: public QEvent{ /* Some contents are skipped to improve readability */ public: QResizeEvent(class QSize const & size, class QSize const & oldSize); /* ... */ }; #endif // QEVENT_H