#include <QtGui/qevent.h> #ifndef QEVENT_H #ifndef QT_NO_SHORTCUT class QShortcutEvent: public QEvent{ /* Some contents are skipped to improve readability */ public: QShortcutEvent(class QKeySequence const & key, int id, bool ambiguous = 0); /* ... */ }; #endif #endif // QEVENT_H