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