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