From 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 13 Apr 2011 00:46:47 +0000 Subject: Initial conversion of kdepim to TQt This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libkcal/tests/testfields.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'libkcal/tests/testfields.cpp') diff --git a/libkcal/tests/testfields.cpp b/libkcal/tests/testfields.cpp index a6117088..bb95d1f3 100644 --- a/libkcal/tests/testfields.cpp +++ b/libkcal/tests/testfields.cpp @@ -58,8 +58,8 @@ int main(int argc,char **argv) return 1; } - // 2 tests... first uid should result in a syncStatus of 0. second uid - // should have a new summary and a 1 for syncStatus. + // 2 tests... first uid should result in a synctqStatus of 0. second uid + // should have a new summary and a 1 for synctqStatus. TQString uid1 = TQString::tqfromLatin1("KOrganizer-1345486115.965"); TQString uid2 = TQString::tqfromLatin1("KOrganizer-1345486115.967"); @@ -78,7 +78,7 @@ int main(int argc,char **argv) if (e->pilotId()) { kdDebug() << "Pilot ID = " << e->pilotId() << endl; - kdDebug() << "Pilot Sync Status = " << e->syncStatus() << endl; + kdDebug() << "Pilot Sync tqStatus = " << e->synctqStatus() << endl; } else { kdError() << "No Pilot ID" << endl; return 1; @@ -86,7 +86,7 @@ int main(int argc,char **argv) kdDebug() << "First test passed. Able to read fields." << endl; - e->setSyncStatus(KCal::Incidence::SYNCNONE); + e->setSynctqStatus(KCal::Incidence::SYNCNONE); TQString newSummary = TQString::tqfromLatin1("Mooo summary"); @@ -120,7 +120,7 @@ int main(int argc,char **argv) TQFile::remove( filew ); - // check for uid1--should have syncStatus of 0 + // check for uid1--should have synctqStatus of 0 e = cal2.event( uid1 ); if (!e) { kdError() << "No event for first read test" << uid1 << endl; @@ -131,13 +131,13 @@ int main(int argc,char **argv) if (e->pilotId()) { kdDebug() << "First Pilot ID = " << e->pilotId() << endl; - kdDebug() << "First Pilot Sync Status = " << e->syncStatus() << endl; + kdDebug() << "First Pilot Sync tqStatus = " << e->synctqStatus() << endl; } else { kdError() << "No Pilot ID for first test" << endl; return 1; } - if (e->syncStatus() != KCal::Incidence::SYNCNONE) { + if (e->synctqStatus() != KCal::Incidence::SYNCNONE) { kdError() << "Wrong Pilot sync status." << endl; return 1; } @@ -154,13 +154,13 @@ int main(int argc,char **argv) if (f->pilotId()) { kdDebug() << "Second Pilot ID = " << f->pilotId() << endl; - kdDebug() << "Second Pilot Sync Status = " << f->syncStatus() << endl; + kdDebug() << "Second Pilot Sync tqStatus = " << f->synctqStatus() << endl; } else { kdError() << "No Pilot ID for second read test" << endl; return 1; } - if (f->syncStatus() != KCal::Incidence::SYNCMOD) { + if (f->synctqStatus() != KCal::Incidence::SYNCMOD) { kdError() << "Wrong Pilot sync status for second read test." << endl; return 1; } -- cgit v1.2.3