diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-02-16 20:17:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-02-16 20:17:18 +0000 |
commit | f4fae92b6768541e2952173c3d4b09040f95bf7e (patch) | |
tree | d8c5d93232235cd635f3310b4d95490df181ba2d /libkcal/tests/testfields.cpp | |
parent | 125c0a08265b75a133644d3b55f47e37c919f45d (diff) | |
download | tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip |
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkcal/tests/testfields.cpp')
-rw-r--r-- | libkcal/tests/testfields.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libkcal/tests/testfields.cpp b/libkcal/tests/testfields.cpp index 6e63faa98..a61170888 100644 --- a/libkcal/tests/testfields.cpp +++ b/libkcal/tests/testfields.cpp @@ -50,9 +50,9 @@ int main(int argc,char **argv) Q_UNUSED(args) - CalendarLocal cal( TQString::fromLatin1("UTC") ); + CalendarLocal cal( TQString::tqfromLatin1("UTC") ); - TQString file = TQString::fromLatin1( INPUT ); + TQString file = TQString::tqfromLatin1( INPUT ); if (!cal.load( file ) ) { kdError() << "Can't load " << file << endl; return 1; @@ -60,8 +60,8 @@ int main(int argc,char **argv) // 2 tests... first uid should result in a syncStatus of 0. second uid // should have a new summary and a 1 for syncStatus. - TQString uid1 = TQString::fromLatin1("KOrganizer-1345486115.965"); - TQString uid2 = TQString::fromLatin1("KOrganizer-1345486115.967"); + TQString uid1 = TQString::tqfromLatin1("KOrganizer-1345486115.965"); + TQString uid2 = TQString::tqfromLatin1("KOrganizer-1345486115.967"); Event *e = cal.event( uid1 ); if (!e) { @@ -88,7 +88,7 @@ int main(int argc,char **argv) e->setSyncStatus(KCal::Incidence::SYNCNONE); - TQString newSummary = TQString::fromLatin1("Mooo summary"); + TQString newSummary = TQString::tqfromLatin1("Mooo summary"); Event *f = new Event(*e); @@ -112,7 +112,7 @@ int main(int argc,char **argv) // now try to read the file back in and see if our changes made it - CalendarLocal cal2( TQString::fromLatin1("UTC") ); + CalendarLocal cal2( TQString::tqfromLatin1("UTC") ); if (!cal2.load( filew ) ) { kdError() << "Can't load " << filew << endl; return 1; |