#include <QtGui/qevent.h> #ifndef QEVENT_H class QResizeEvent: public QEvent{ /* Some contents are skipped to improve readability */ protected: class QSize olds; /* ... */ }; #endif // QEVENT_H