#include <QtGui/qabstractbutton.h> #ifndef QABSTRACTBUTTON_H class QAbstractButton: public QWidget{ /* Some contents are skipped to improve readability */ protected: virtual bool hitButton(class QPoint const & pos) const /* ... */ }; #endif // QABSTRACTBUTTON_H