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