#include <QtGui/qdockwidget.h>
#ifndef QDYNAMICDOCKWIDGET_H
#ifndef QT_NO_DOCKWIDGET
class QDockWidget: public QWidget{
   /* Some contents are skipped to improve readability */
#ifndef QT_NO_ACTION
   public: struct QAction* toggleViewAction() const
#endif
   /* ... */
};
#endif // QT_NO_DOCKWIDGET
#endif // QDYNAMICDOCKWIDGET_H