#include <QtGui/qevent.h> #ifndef QEVENT_H #ifndef QT_NO_TOOLBAR class QToolBarChangeEvent: public QEvent{ /* Some contents are skipped to improve readability */ public: inline bool toggle() const /* ... */ }; #endif #endif // QEVENT_H