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