#include <QtGui/qheaderview.h>
#ifndef QHEADERVIEW_H
#ifndef QT_NO_ITEMVIEWS
class QHeaderView: public QAbstractItemView{
   /* Some contents are skipped to improve readability */
   protected: virtual void paintSection(struct QPainter* painter, class QRect const & rect, int logicalIndex) const
   /* ... */
};
#endif // QT_NO_ITEMVIEWS
#endif // QHEADERVIEW_H