#include <QtGui/qevent.h> #ifndef QEVENT_H class QMouseEvent: public QInputEvent{ /* Some contents are skipped to improve readability */ protected: enum Qt::MouseButton b; /* ... */ }; #endif // QEVENT_H