#include <QtGui/qdialogbuttonbox.h> #ifndef QDIALOGBUTTONBOX_H class QDialogButtonBox: public QWidget{ /* Some contents are skipped to improve readability */ public: enum QDialogButtonBox::ButtonRole buttonRole(struct QAbstractButton* button) const /* ... */ }; #endif // QDIALOGBUTTONBOX_H