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