#include <QtGui/qevent.h> #ifndef QEVENT_H #ifndef QT_NO_SHORTCUT class QShortcutEvent: public QEvent{ /* Some contents are skipped to improve readability */ public: inline int shortcutId() const /* ... */ }; #endif #endif // QEVENT_H