diff options
author | Matthew Vogt <matthew.vogt@nokia.com> | 2012-03-08 14:11:46 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-09 07:30:00 +0100 |
commit | 2cdf6cbb9c43d52f914e9e7d01cc43e055ebf226 (patch) | |
tree | bde106a4b28b59994d4ddc7deea29a16288c887b /src/qml/qml/rewriter/textwriter_p.h | |
parent | 6d93b4af1ea53bc9418e64c57ceae2185788e0df (diff) |
Remove unused QTextCursor code from rewriter.
The rewriter previously supported rewriting operations on either
a QString or a QTextCursor. In order to remove the dependency on
QtGui, remove the unused QTextCursor support.
Task-number: QTBUG-24559
Change-Id: I7a4acceff8097a8bd8c022db23b6b89d356e305a
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
Diffstat (limited to 'src/qml/qml/rewriter/textwriter_p.h')
-rw-r--r-- | src/qml/qml/rewriter/textwriter_p.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/qml/qml/rewriter/textwriter_p.h b/src/qml/qml/rewriter/textwriter_p.h index 94e2d08730..6c36a2f00d 100644 --- a/src/qml/qml/rewriter/textwriter_p.h +++ b/src/qml/qml/rewriter/textwriter_p.h @@ -46,7 +46,6 @@ #include <QtCore/QString> #include <QtCore/QList> -#include <QtGui/QTextCursor> QT_BEGIN_HEADER QT_QML_BEGIN_NAMESPACE @@ -56,7 +55,6 @@ namespace QQmlJS { class TextWriter { QString *string; - QTextCursor *cursor; struct Replace { int pos; @@ -89,8 +87,6 @@ public: void move(int pos, int length, int to); void write(QString *s); - void write(QTextCursor *textCursor); - }; } // end of namespace QQmlJS |