#include <QtGui/qdialog.h> #ifndef QDIALOG_H class QDialog: public QWidget{ /* Some contents are skipped to improve readability */ public: virtual struct QMetaObject const * metaObject() const /* ... */ }; #endif // QDIALOG_H