#include <QtGui/qtablewidget.h> #ifndef QTABLEWIDGET_H #ifndef QT_NO_TABLEWIDGET class QTableWidget: public QTableView{ /* Some contents are skipped to improve readability */ public: void setVerticalHeaderLabels(class QStringList const & labels); /* ... */ }; #endif // QT_NO_TABLEWIDGET #endif // QTABLEWIDGET_H