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