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