#include <QtGui/qheaderview.h> #ifndef QHEADERVIEW_H #ifndef QT_NO_ITEMVIEWS class QHeaderView: public QAbstractItemView{ /* Some contents are skipped to improve readability */ public: inline void showSection(int alogicalIndex); /* ... */ }; #endif // QT_NO_ITEMVIEWS #endif // QHEADERVIEW_H