Quark
0.1
|
TODO: rewrite doc A data model representing a 2-way or 3-way diff. More...
#include <DiffModel.h++>
Signals | |
void | objectChanged () |
Emitted when the object has changed in some way. More... | |
Public Member Functions | |
DiffModel () | |
~DiffModel () | |
void | diff2 (const QString &baseText, const QString &yoursText) |
void | diff3 (const QString &theirsText, const QString &baseText, const QString &yoursText) |
void | setTheirsConflictMarker (const QString &marker) |
void | setBaseConflictMarker (const QString &marker) |
void | setYoursConflictMarker (const QString &marker) |
void | setEndConflictMarker (const QString &marker) |
int | sequenceLength (DiffRole role) const |
bool | isTwoWay () const |
bool | isThreeWay () const |
bool | isEmpty () const |
void | clear () |
const QVector< DiffChunk * > * | diffChunks () const |
const DiffChunk * | chunkForIndex (DiffRole role, int index) const |
bool | outputMerge (QTextStream &stream, DiffCounts *counts) const |
void | outputEdScript (DiffRole source, DiffRole destination, QTextStream &stream) const |
void | setRecursiveDiff (bool recursiveDiff) |
void | setAggressiveMerge (bool aggressiveMerge) |
void | dump (DiffDirection diffDir) const |
void | notifyChanged () |
Emits the objectChanged() signal. More... | |
TODO: rewrite doc A data model representing a 2-way or 3-way diff.
Encapsulates access to the diff and merge engines.
DiffModel | ( | ) |
~DiffModel | ( | ) |
void clear | ( | ) |
void diff2 | ( | const QString & | baseText, |
const QString & | yoursText | ||
) |
void diff3 | ( | const QString & | theirsText, |
const QString & | baseText, | ||
const QString & | yoursText | ||
) |
const QVector<DiffChunk*>* diffChunks | ( | ) | const |
void dump | ( | DiffDirection | diffDir | ) | const |
bool isEmpty | ( | ) | const |
bool isThreeWay | ( | ) | const |
bool isTwoWay | ( | ) | const |
|
inherited |
Emits the objectChanged() signal.
|
signalinherited |
Emitted when the object has changed in some way.
bool outputMerge | ( | QTextStream & | stream, |
DiffCounts * | counts | ||
) | const |
int sequenceLength | ( | DiffRole | role | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |