• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdesdk API Reference
  • KDE Home
  • Contact Us
 

lokalize

  • sources
  • kde-4.14
  • kdesdk
  • lokalize
  • src
  • common
Enumerations | Functions
diff.h File Reference
#include <QString>
Include dependency graph for diff.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  { Html =1 }
 

Functions

QString userVisibleWordDiff (const QString &oldString, const QString &newString, const QString &accelRx, const QString &markupRx, int options=0)
 
QString wordDiff (QStringList s1, QStringList s2)
 

Enumeration Type Documentation

anonymous enum

Word-by-word diff algorithm.

Word-by-word diff algorithm

Based on Markus Stengel's GPLv2+ implementation of LCS-Delta algorithm as it is described in "Introduction to Algorithms", MIT Press, 2001, Second Edition, written by Thomas H. Cormen et. al. It uses dynamic programming to solve the Longest Common Subsequence (LCS) problem. http://www.markusstengel.de/text/en/i_4_1_5_3.html)

This is high-level wrapper

Author
Nick Shaforostoff shaff.nosp@m.f@uk.nosp@m.r.net
Enumerator
Html 

Definition at line 45 of file diff.h.

Function Documentation

QString userVisibleWordDiff ( const QString &  oldString,
const QString &  newString,
const QString &  accelRx,
const QString &  markupRx,
int  options = 0 
)

Definition at line 408 of file diff.cpp.

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.

This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:07 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

lokalize

Skip menu "lokalize"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • umbrello
  •   umbrello

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal