#include <QtGui/qapplication.h> #ifndef QAPPLICATION_H class QApplication: public QCoreApplication{ /* Some contents are skipped to improve readability */ #ifndef QT_NO_CURSOR public: static class QCursor* overrideCursor(); #endif /* ... */ }; #endif // QAPPLICATION_H