22 #include <libtdepim/diffalgo.h>
26 void DiffAlgo::begin()
28 TQValueList<DiffAlgoDisplay*>::Iterator it;
29 for ( it = mDisplays.begin(); it != mDisplays.end(); ++it )
35 TQValueList<DiffAlgoDisplay*>::Iterator it;
36 for ( it = mDisplays.begin(); it != mDisplays.end(); ++it )
40 void DiffAlgo::setLeftSourceTitle(
const TQString &title )
42 TQValueList<DiffAlgoDisplay*>::Iterator it;
43 for ( it = mDisplays.begin(); it != mDisplays.end(); ++it )
44 (*it)->setLeftSourceTitle( title );
47 void DiffAlgo::setRightSourceTitle(
const TQString &title )
49 TQValueList<DiffAlgoDisplay*>::Iterator it;
50 for ( it = mDisplays.begin(); it != mDisplays.end(); ++it )
51 (*it)->setRightSourceTitle( title );
54 void DiffAlgo::additionalLeftField(
const TQString &
id,
const TQString &value )
56 TQValueList<DiffAlgoDisplay*>::Iterator it;
57 for ( it = mDisplays.begin(); it != mDisplays.end(); ++it )
58 (*it)->additionalLeftField(
id, value );
61 void DiffAlgo::additionalRightField(
const TQString &
id,
const TQString &value )
63 TQValueList<DiffAlgoDisplay*>::Iterator it;
64 for ( it = mDisplays.begin(); it != mDisplays.end(); ++it )
65 (*it)->additionalRightField(
id, value );
68 void DiffAlgo::conflictField(
const TQString &
id,
const TQString &leftValue,
69 const TQString &rightValue )
71 TQValueList<DiffAlgoDisplay*>::Iterator it;
72 for ( it = mDisplays.begin(); it != mDisplays.end(); ++it )
73 (*it)->conflictField(
id, leftValue, rightValue );
78 if ( mDisplays.find( display ) == mDisplays.end() )
79 mDisplays.append( display );
84 mDisplays.remove( display );
DiffAlgo and DiffAlgoDisplay work together for displaying differences between two PIM objects like co...
TDEPIM classes for drag and drop of mails.