#include <QtGui/qmessagebox.h>
#ifndef QMESSAGEBOX_H
#ifndef QT_NO_MESSAGEBOX
class QMessageBox: public QDialog{
   /* Some contents are skipped to improve readability */
   protected: virtual void resizeEvent(struct QResizeEvent* event);
   /* ... */
};
#endif // QT_NO_MESSAGEBOX
#endif // QMESSAGEBOX_H