#include <QtGui/qkeysequence.h> #ifndef QKEYSEQUENCE_H #ifndef QT_NO_SHORTCUT class QKeySequence{ /* Some contents are skipped to improve readability */ public: enum QKeySequence::SequenceMatch matches(class QKeySequence const & seq) const /* ... */ }; #else #endif // QT_NO_SHORTCUT #endif // QKEYSEQUENCE_H