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