#include <QtGui/qcursor.h> #ifndef QCURSOR_H #ifndef QT_NO_CURSOR class QCursor{ /* Some contents are skipped to improve readability */ public: enum Qt::CursorShape shape() const /* ... */ }; #endif // QT_NO_CURSOR #endif // QCURSOR_H