#include <QtGui/qdialogbuttonbox.h> #ifndef QDIALOGBUTTONBOX_H class QDialogButtonBox: public QWidget{ /* Some contents are skipped to improve readability */ public: enum StandardButton{ /* ... */ Cancel = 4194304, /* ... */ }; /* ... */ }; #endif // QDIALOGBUTTONBOX_H