#include <QtGui/qpushbutton.h> #ifndef QPUSHBUTTON_H class QPushButton: public QAbstractButton{ /* Some contents are skipped to improve readability */ #ifndef QT_NO_MENU public: struct QMenu* menu() const #endif /* ... */ }; #endif // QPUSHBUTTON_H