#include <QtGui/qtabbar.h> #ifndef QTABBAR_H #ifndef QT_NO_TABBAR class QTabBar: public QWidget{ /* Some contents are skipped to improve readability */ public: class QString tabText(int index) const /* ... */ }; #endif // QT_NO_TABBAR #endif // QTABBAR_H