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