#include <QtGui/qtabbar.h> #ifndef QTABBAR_H #ifndef QT_NO_TABBAR class QTabBar: public QWidget{ /* Some contents are skipped to improve readability */ public: void setTabData(int index, struct QVariant const & data); /* ... */ }; #endif // QT_NO_TABBAR #endif // QTABBAR_H