lokalize
#include "diff.h"
#include "prefs_lokalize.h"
#include <QVector>
#include <QStringList>
#include <QStringMatcher>
#include <QStringBuilder>
#include <QLinkedList>
#include <kdebug.h>
Go to the source code of this file.
|
| QStringList | calcLCS (const QStringList &s1Words, const QStringList &s2Words, const QStringList &s1Space, const QStringList &s2Space) |
| |
| static QStringList | prepareForInternalDiff (const QString &str) |
| |
| static void | prepareLists (QString str, QStringList &main, QStringList &space, const QString &accel, QString markup) |
| |
| QString | userVisibleWordDiff (const QString &str1ForMatching, const QString &str2ForMatching, const QString &accel, const QString &markup, int options) |
| |
| QString | wordDiff (QStringList s1, QStringList s2) |
| |
| Enumerator |
|---|
| NOTHING |
|
| ARROW_UP |
|
| ARROW_LEFT |
|
| ARROW_UP_LEFT |
|
| FINAL |
|
Definition at line 40 of file diff.cpp.
| QStringList calcLCS |
( |
const QStringList & |
s1Words, |
|
|
const QStringList & |
s2Words, |
|
|
const QStringList & |
s1Space, |
|
|
const QStringList & |
s2Space |
|
) |
| |
| static QStringList prepareForInternalDiff |
( |
const QString & |
str | ) |
|
|
static |
| static void prepareLists |
( |
QString |
str, |
|
|
QStringList & |
main, |
|
|
QStringList & |
space, |
|
|
const QString & |
accel, |
|
|
QString |
markup |
|
) |
| |
|
static |
| QString userVisibleWordDiff |
( |
const QString & |
str1ForMatching, |
|
|
const QString & |
str2ForMatching, |
|
|
const QString & |
accel, |
|
|
const QString & |
markup, |
|
|
int |
options |
|
) |
| |
| QString wordDiff |
( |
QStringList |
s1, |
|
|
QStringList |
s2 |
|
) |
| |
This is low-level wrapper used for evaluating translation memory search results.
You have to explicitly prepend lists with identical strings
Definition at line 342 of file diff.cpp.
| QString addMarkerEnd ="</KBABELADD>" |
|
static |
| QString addMarkerStart ="<KBABELADD>" |
|
static |
| QString delMarkerEnd ="</KBABELDEL>" |
|
static |
| QString delMarkerStart ="<KBABELDEL>" |
|
static |
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:03:45 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.