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