aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/api/changeset.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/corelib/api/changeset.h')
-rw-r--r--src/lib/corelib/api/changeset.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/corelib/api/changeset.h b/src/lib/corelib/api/changeset.h
index 13d3908d4..9182cb8e4 100644
--- a/src/lib/corelib/api/changeset.h
+++ b/src/lib/corelib/api/changeset.h
@@ -43,8 +43,6 @@
#include <QtCore/qstring.h>
#include <QtCore/qlist.h>
-QT_FORWARD_DECLARE_CLASS(QTextCursor)
-
namespace QbsQmlJS {
class ChangeSet
@@ -86,7 +84,7 @@ public:
public:
ChangeSet();
- ChangeSet(const QList<EditOp> &operations);
+ ChangeSet(QList<EditOp> operations);
bool empty() const;
@@ -109,7 +107,6 @@ public:
bool hadErrors();
void apply(QString *s);
- void apply(QTextCursor *textCursor);
private:
// length-based API.
@@ -129,7 +126,6 @@ private:
private:
QString *m_string;
- QTextCursor *m_cursor;
QList<EditOp> m_operationList;
bool m_error;