#include <QtGui/qtoolbox.h> #ifndef QTOOLBOX_H #ifndef QT_NO_TOOLBOX class QToolBox: public QFrame{ /* Some contents are skipped to improve readability */ public: class QString itemText(int index) const /* ... */ }; #endif // QT_NO_TOOLBOX #endif // QTOOLBOX_H