#include <QtGui/qevent.h> #ifndef QEVENT_H #ifndef QT_NO_WHEELEVENT class QWheelEvent: public QInputEvent{ /* Some contents are skipped to improve readability */ public: inline int x() const /* ... */ }; #endif #endif // QEVENT_H