#include <QtGui/qdialogbuttonbox.h> #ifndef QDIALOGBUTTONBOX_H class QDialogButtonBox: public QWidget{ /* Some contents are skipped to improve readability */ public: struct QPushButton* addButton(class QString const & text, enum QDialogButtonBox::ButtonRole role); /* ... */ }; #endif // QDIALOGBUTTONBOX_H