#include <QtGui/qcursor.h> #ifndef QCURSOR_H #ifndef QT_NO_CURSOR class QCursor{ /* Some contents are skipped to improve readability */ public: static void setPos(int x, int y); /* ... */ }; #endif // QT_NO_CURSOR #endif // QCURSOR_H