Extending Qt Creator Manual | ChangeSet

Extending Qt Creator Manual 4.7.1

# ChangeSet Class

(Utils::ChangeSet)

- List of all members, including inherited members

## Public Types

class | EditOp
class | Range

## Public Functions

| ChangeSet()
| ChangeSet(const int &operations)
void | apply(QString *s)
void | apply(QTextCursor *textCursor)
void | clear()
bool | copy(const Utils::ChangeSet::Range &range, int to)
bool | copy(int start, int end, int to)
bool | flip(const Utils::ChangeSet::Range &range1, const Utils::ChangeSet::Range &range2)
bool | flip(int start1, int end1, int start2, int end2)
bool | hadErrors()
bool | insert(int pos, const QString &text)
bool | isEmpty() const
bool | move(const Utils::ChangeSet::Range &range, int to)
bool | move(int start, int end, int to)
int | operationList() const
bool | remove(const Utils::ChangeSet::Range &range)
bool | remove(int start, int end)
bool | replace(const Utils::ChangeSet::Range &range, const QString &replacement)
bool | replace(int start, int end, const QString &replacement)

## Member Function Documentation

### ChangeSet::ChangeSet()

Default constructs an instance of ChangeSet.

### ChangeSet::ChangeSet(const int &operations)

Default constructs an instance of ChangeSet.

### void ChangeSet::apply(QString *s)

### void ChangeSet::apply(QTextCursor *textCursor)

### void ChangeSet::clear()

### bool ChangeSet::copy(const Utils::ChangeSet::Range &range, int to)

### bool ChangeSet::copy(int start, int end, int to)

### bool ChangeSet::flip(const Utils::ChangeSet::Range &range1, const Utils::ChangeSet::Range &range2)

### bool ChangeSet::flip(int start1, int end1, int start2, int end2)

### bool ChangeSet::hadErrors()

### bool ChangeSet::insert(int pos, const QString &text)

### bool ChangeSet::isEmpty() const

### bool ChangeSet::move(const Utils::ChangeSet::Range &range, int to)

### bool ChangeSet::move(int start, int end, int to)

### int ChangeSet::operationList() const

### bool ChangeSet::remove(const Utils::ChangeSet::Range &range)

### bool ChangeSet::remove(int start, int end)

### bool ChangeSet::replace(const Utils::ChangeSet::Range &range, const QString &replacement)

### bool ChangeSet::replace(int start, int end, const QString &replacement)