#include <QtGui/qtextcursor.h> #ifndef QTEXTCURSOR_H class QTextCursor{ /* Some contents are skipped to improve readability */ public: struct QTextList* createList(class QTextListFormat const & format); /* ... */ }; #endif // QTEXTCURSOR_H