#include <QtGui/qtextcursor.h> #ifndef QTEXTCURSOR_H class QTextCursor{ /* Some contents are skipped to improve readability */ public: enum MoveOperation{ /* ... */ EndOfLine = 13, /* ... */ }; /* ... */ }; #endif // QTEXTCURSOR_H