#include <QtGui/qdialog.h> #ifndef QDIALOG_H class QDialog: public QWidget{ /* Some contents are skipped to improve readability */ public: void setOrientation(enum Qt::Orientation orientation); /* ... */ }; #endif // QDIALOG_H