#include <QtGui/qevent.h> #ifndef QEVENT_H class QKeyEvent: public QInputEvent{ /* Some contents are skipped to improve readability */ #ifndef QT_NO_SHORTCUT public: bool matches(enum QKeySequence::StandardKey key) const #endif /* ... */ }; #endif // QEVENT_H