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