#include <QtGui/qevent.h> #ifndef QEVENT_H class QInputEvent: public QEvent{ /* Some contents are skipped to improve readability */ public: QInputEvent(enum QEvent::Type type, Qt::KeyboardModifiers modifiers = Qt::NoModifier); /* ... */ }; #endif // QEVENT_H