#include <QtGui/qabstractslider.h> #ifndef QABSTRACTSLIDER_H class QAbstractSlider: public QWidget{ /* Some contents are skipped to improve readability */ public: bool hasTracking() const /* ... */ }; #endif // QABSTRACTSLIDER_H