#include <QtGui/qtableview.h> #ifndef QTABLEVIEW_H #ifndef QT_NO_TABLEVIEW class QTableView: public QAbstractItemView{ /* Some contents are skipped to improve readability */ public: virtual class QRect visualRect(class QModelIndex const & index) const /* ... */ }; #endif // QT_NO_TABLEVIEW #endif // QTABLEVIEW_H