#include <QtGui/qkeysequence.h> #ifndef QKEYSEQUENCE_H #ifndef QT_NO_SHORTCUT class QKeySequence{ /* Some contents are skipped to improve readability */ public: enum SequenceMatch{ NoMatch = 0, PartialMatch = 1, ExactMatch = 2, }; /* ... */ }; #else #endif // QT_NO_SHORTCUT #endif // QKEYSEQUENCE_H