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