#include <QtGui/qbuttongroup.h> #ifndef QBUTTONGROUP_H #ifndef QT_NO_BUTTONGROUP class QButtonGroup: public QObject{ /* Some contents are skipped to improve readability */ public: class QList < struct QAbstractButton* > buttons() const /* ... */ }; #endif // QT_NO_BUTTONGROUP #endif // QBUTTONGROUP_H