#include <QtGui/qdialog.h> #ifndef QDIALOG_H class QDialog: public QWidget{ /* Some contents are skipped to improve readability */ protected: QDialog(struct QDialogPrivate&, class QWidget* parent, Qt::WindowFlags f = 0); /* ... */ }; #endif // QDIALOG_H