25#include <tqvaluelist.h>
49 virtual void end() = 0;
74 virtual void conflictField(
const TQString &
id,
const TQString &leftValue,
75 const TQString &rightValue ) = 0;
79class TDE_EXPORT DiffAlgo
85 virtual ~DiffAlgo() {}
90 virtual void run() = 0;
105 void setLeftSourceTitle(
const TQString &title );
110 void setRightSourceTitle(
const TQString &title );
115 void additionalLeftField(
const TQString &
id,
const TQString &value );
120 void additionalRightField(
const TQString &
id,
const TQString &value );
125 void conflictField(
const TQString &
id,
const TQString &leftValue,
126 const TQString &rightValue );
128 void addDisplay( DiffAlgoDisplay *display );
129 void removeDisplay( DiffAlgoDisplay *display );
133 TQValueList<DiffAlgoDisplay*> mDisplays;
DiffAlgo and DiffAlgoDisplay work together for displaying differences between two PIM objects like co...
virtual void additionalRightField(const TQString &id, const TQString &value)=0
Adds a field which is only available in the right data source.
virtual void conflictField(const TQString &id, const TQString &leftValue, const TQString &rightValue)=0
Adds a conflict between two fields.
virtual void begin()=0
Is called on the start of the diff.
virtual void end()=0
Is called on the end of the diff.
virtual void setLeftSourceTitle(const TQString &title)=0
Sets the title of the left data source.
virtual void additionalLeftField(const TQString &id, const TQString &value)=0
Adds a field which is only available in the left data source.
virtual void setRightSourceTitle(const TQString &title)=0
Sets the title of the right data source.
TDEPIM classes for drag and drop of mails.