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