KPIM::DiffAlgoDisplay Class Referenceabstract

#include <diffalgo.h>

Inherited by KPIM::HTMLDiffAlgoDisplay [virtual].

Public Member Functions

virtual void begin ()=0
 
virtual void end ()=0
 
virtual void setLeftSourceTitle (const TQString &title)=0
 
virtual void setRightSourceTitle (const TQString &title)=0
 
virtual void additionalLeftField (const TQString &id, const TQString &value)=0
 
virtual void additionalRightField (const TQString &id, const TQString &value)=0
 
virtual void conflictField (const TQString &id, const TQString &leftValue, const TQString &rightValue)=0
 

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.

Definition at line 37 of file diffalgo.h.

Member Function Documentation

◆ additionalLeftField()

virtual void KPIM::DiffAlgoDisplay::additionalLeftField ( const TQString &  id,
const TQString &  value 
)
pure virtual

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

◆ additionalRightField()

virtual void KPIM::DiffAlgoDisplay::additionalRightField ( const TQString &  id,
const TQString &  value 
)
pure virtual

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

◆ begin()

virtual void KPIM::DiffAlgoDisplay::begin ( )
pure virtual

Is called on the start of the diff.

◆ conflictField()

virtual void KPIM::DiffAlgoDisplay::conflictField ( const TQString &  id,
const TQString &  leftValue,
const TQString &  rightValue 
)
pure virtual

Adds a conflict between two fields.

◆ end()

virtual void KPIM::DiffAlgoDisplay::end ( )
pure virtual

Is called on the end of the diff.

◆ setLeftSourceTitle()

virtual void KPIM::DiffAlgoDisplay::setLeftSourceTitle ( const TQString &  title)
pure virtual

Sets the title of the left data source.

◆ setRightSourceTitle()

virtual void KPIM::DiffAlgoDisplay::setRightSourceTitle ( const TQString &  title)
pure virtual

Sets the title of the right data source.


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