summaryrefslogtreecommitdiffstats
path: root/kitchensync/src/calendardiffalgo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kitchensync/src/calendardiffalgo.cpp')
-rw-r--r--kitchensync/src/calendardiffalgo.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/kitchensync/src/calendardiffalgo.cpp b/kitchensync/src/calendardiffalgo.cpp
index f7ef174a2..9d18649a8 100644
--- a/kitchensync/src/calendardiffalgo.cpp
+++ b/kitchensync/src/calendardiffalgo.cpp
@@ -28,7 +28,7 @@
using namespace KSync;
#ifndef KDE_USE_FINAL
-static bool compareString( const QString &left, const QString &right )
+static bool compareString( const TQString &left, const TQString &right )
{
if ( left.isEmpty() && right.isEmpty() )
return true;
@@ -37,42 +37,42 @@ static bool compareString( const QString &left, const QString &right )
}
#endif
-static QString toString( KCal::Attendee *attendee )
+static TQString toString( KCal::Attendee *attendee )
{
return attendee->name() + "<" + attendee->email() + ">";
}
-static QString toString( KCal::Alarm * )
+static TQString toString( KCal::Alarm * )
{
- return QString::null;
+ return TQString::null;
}
-static QString toString( KCal::Incidence * )
+static TQString toString( KCal::Incidence * )
{
- return QString::null;
+ return TQString::null;
}
-static QString toString( KCal::Attachment * )
+static TQString toString( KCal::Attachment * )
{
- return QString::null;
+ return TQString::null;
}
-static QString toString( const QDate &date )
+static TQString toString( const TQDate &date )
{
return date.toString();
}
-static QString toString( const QDateTime &dateTime )
+static TQString toString( const TQDateTime &dateTime )
{
return dateTime.toString();
}
-static QString toString( const QString str )
+static TQString toString( const TQString str )
{
return str;
}
-static QString toString( bool value )
+static TQString toString( bool value )
{
if ( value )
return i18n( "Yes" );
@@ -128,7 +128,7 @@ void CalendarDiffAlgo::diffIncidenceBase( KCal::IncidenceBase *left, KCal::Incid
conflictField( i18n( "Has duration" ), toString( left->hasDuration() ), toString( right->hasDuration() ) );
if ( left->duration() != right->duration() )
- conflictField( i18n( "Duration" ), QString::number( left->duration() ), QString::number( right->duration() ) );
+ conflictField( i18n( "Duration" ), TQString::number( left->duration() ), TQString::number( right->duration() ) );
}
void CalendarDiffAlgo::diffIncidence( KCal::Incidence *left, KCal::Incidence *right )
@@ -195,15 +195,15 @@ void CalendarDiffAlgo::diffTodo( KCal::Todo *left, KCal::Todo *right )
conflictField( i18n( "Has Complete Date" ), toString( left->hasCompletedDate() ), toString( right->hasCompletedDate() ) );
if ( left->percentComplete() != right->percentComplete() )
- conflictField( i18n( "Complete" ), QString::number( left->percentComplete() ), QString::number( right->percentComplete() ) );
+ conflictField( i18n( "Complete" ), TQString::number( left->percentComplete() ), TQString::number( right->percentComplete() ) );
if ( left->completed() != right->completed() )
conflictField( i18n( "Completed" ), toString( left->completed() ), toString( right->completed() ) );
}
template <class L>
-void CalendarDiffAlgo::diffList( const QString &id,
- const QValueList<L> &left, const QValueList<L> &right )
+void CalendarDiffAlgo::diffList( const TQString &id,
+ const TQValueList<L> &left, const TQValueList<L> &right )
{
for ( uint i = 0; i < left.count(); ++i ) {
if ( right.find( left[ i ] ) == right.end() )