#include <diff_match_patch.h>
|
| Diff (Operation _operation, const QString &_text) |
|
bool | isNull () const |
|
QString | toString () const |
|
bool | operator== (const Diff &d) const |
|
bool | operator!= (const Diff &d) const |
|
|
static QString | strOperation (Operation op) |
|
|
Operation | operation |
|
QString | text |
|
Class representing one diff operation.
Diff::Diff |
( |
Operation |
_operation, |
|
|
const QString & |
_text |
|
) |
| |
Constructor. Initializes the diff with the provided values.
- Parameters
-
operation | One of INSERT, DELETE or EQUAL. |
text | The text being applied. |
Constructor. Initializes the diff with the provided values.
- Parameters
-
operation | One of INSERT, DELETE or EQUAL |
text | The text being applied |
bool Diff::operator== |
( |
const Diff & |
d | ) |
const |
Is this Diff equivalent to another Diff?
- Parameters
-
d | Another Diff to compare against |
- Returns
- true or false
QString Diff::toString |
( |
| ) |
const |
Display a human-readable version of this Diff.
- Returns
- text version
The documentation for this class was generated from the following files:
- /media/data/my-dev/scaffold/src3/dmp/diff_match_patch.h
- /media/data/my-dev/scaffold/src3/dmp/diff_match_patch.cpp