KDE PIM / Developers / API Docs / libkdepim

KPIM::DiffAlgoDisplay Class Reference

DiffAlgo and DiffAlgoDisplay work together for displaying differences between two PIM objects like contacts, events or todos. More...

#include <diffalgo.h>

Inherited by KPIM::HTMLDiffAlgoDisplay [virtual].

List of all members.

Public Member Functions


Detailed Description

DiffAlgo and DiffAlgoDisplay work together for displaying differences between two PIM objects like contacts, events or todos.

DiffAlgo is the bas class for the diffing algorithm and DiffAlgoDisplay is responsible for representation. The separation makes it possible to use one display for all diffing algorithm and vice versa.


Member Function Documentation

virtual void KPIM::DiffAlgoDisplay::begin  )  [pure virtual]
 

Is called on the start of the diff.

virtual void KPIM::DiffAlgoDisplay::end  )  [pure virtual]
 

Is called on the end of the diff.

virtual void KPIM::DiffAlgoDisplay::setLeftSourceTitle const QString &  title  )  [pure virtual]
 

Sets the title of the left data source.

virtual void KPIM::DiffAlgoDisplay::setRightSourceTitle const QString &  title  )  [pure virtual]
 

Sets the title of the right data source.

virtual void KPIM::DiffAlgoDisplay::additionalLeftField const QString &  id,
const QString &  value
[pure virtual]
 

Adds a field which is only available in the left data source.

virtual void KPIM::DiffAlgoDisplay::additionalRightField const QString &  id,
const QString &  value
[pure virtual]
 

Adds a field which is only available in the right data source.

virtual void KPIM::DiffAlgoDisplay::conflictField const QString &  id,
const QString &  leftValue,
const QString &  rightValue
[pure virtual]
 

Adds a conflict between two fields.


The documentation for this class was generated from the following file: