#include <QtGui/qevent.h> #ifndef QEVENT_H #ifndef QT_NO_WHEELEVENT class QWheelEvent: public QInputEvent{ /* Some contents are skipped to improve readability */ protected: Qt::MouseButtons mouseState; /* ... */ }; #endif #endif // QEVENT_H