#include <QtGui/qscrollarea.h> #ifndef QSCROLLAREA_H #ifndef QT_NO_SCROLLAREA class QScrollArea: public QAbstractScrollArea{ /* Some contents are skipped to improve readability */ protected: virtual bool eventFilter(class QObject*, struct QEvent*); /* ... */ }; #endif // QT_NO_SCROLLAREA #endif // QSCROLLAREA_H