#include <QtGui/qmainwindow.h>
#ifndef QDYNAMICMAINWINDOW_H
#ifndef QT_NO_MAINWINDOW
class QMainWindow: public QWidget{
   /* Some contents are skipped to improve readability */
#ifndef QT_NO_DOCKWIDGET
   public: enum Qt::DockWidgetArea corner(enum Qt::Corner corner) const
#endif
   /* ... */
};
#endif // QT_NO_MAINWINDOW
#endif // QDYNAMICMAINWINDOW_H