#include <QtGui/qabstractslider.h> #ifndef QABSTRACTSLIDER_H class QAbstractSlider: public QWidget{ /* Some contents are skipped to improve readability */ #ifndef QT_NO_WHEELEVENT protected: virtual void wheelEvent(struct QWheelEvent* e); #endif /* ... */ }; #endif // QABSTRACTSLIDER_H