summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/exportdatebook.cc2
-rw-r--r--tests/importdatebook.cc2
-rw-r--r--tests/mergecalendars.cc6
-rw-r--r--tests/testcategories.cc2
-rw-r--r--tests/testdatabase.cc4
5 files changed, 8 insertions, 8 deletions
diff --git a/tests/exportdatebook.cc b/tests/exportdatebook.cc
index 18bbf34..d4cf8c5 100644
--- a/tests/exportdatebook.cc
+++ b/tests/exportdatebook.cc
@@ -123,7 +123,7 @@ int main(int argc, char **argv)
KCalSync::setEvent(event, d,*fAppointmentAppInfo->categoryInfo());
- event->setSynctqStatus( KCal::Incidence::SYNCNONE );
+ event->setSyncStatus( KCal::Incidence::SYNCNONE );
calendar->addEvent(event);
diff --git a/tests/importdatebook.cc b/tests/importdatebook.cc
index 979794f..ebbb701 100644
--- a/tests/importdatebook.cc
+++ b/tests/importdatebook.cc
@@ -87,7 +87,7 @@ int main(int argc, char **argv)
<< "], creating DatebookDB in: [" << datadir
<< "]" << endl;
- KCal::CalendarLocal *calendar = new KCal::CalendarLocal( TQString::tqfromLatin1("UTC") );
+ KCal::CalendarLocal *calendar = new KCal::CalendarLocal( TQString::fromLatin1("UTC") );
if (!calendar || !calendar->load( vcalfile ))
{
return 1;
diff --git a/tests/mergecalendars.cc b/tests/mergecalendars.cc
index 2fc1e78..ea2970d 100644
--- a/tests/mergecalendars.cc
+++ b/tests/mergecalendars.cc
@@ -96,8 +96,8 @@ int main(int argc, char **argv)
DEBUGKPILOT << "Will save newfile to: [" << newfilesave
<< "]" << endl << endl;
- KCal::CalendarLocal *calkorg = new KCal::CalendarLocal( TQString::tqfromLatin1("UTC") );
- KCal::CalendarLocal *calnew = new KCal::CalendarLocal( TQString::tqfromLatin1("UTC") );
+ KCal::CalendarLocal *calkorg = new KCal::CalendarLocal( TQString::fromLatin1("UTC") );
+ KCal::CalendarLocal *calnew = new KCal::CalendarLocal( TQString::fromLatin1("UTC") );
if (!calkorg || !calnew)
{
WARNINGKPILOT << "Unable to create base calendar objects." << endl;
@@ -154,7 +154,7 @@ int main(int argc, char **argv)
<< pilotId << "]" << endl;
ev->setPilotId(pilotId);
- ev->setSynctqStatus(KCal::Incidence::SYNCMOD);
+ ev->setSyncStatus(KCal::Incidence::SYNCMOD);
++numkorgpilotids;
}
diff --git a/tests/testcategories.cc b/tests/testcategories.cc
index a29a307..c68be84 100644
--- a/tests/testcategories.cc
+++ b/tests/testcategories.cc
@@ -123,7 +123,7 @@ void categoryNames( const TQString &dir )
DEBUGKPILOT << "# Expect three truncation errors and two bad category numbers." << endl;
for (unsigned int i=0; i<Pilot::CATEGORY_COUNT+2; i++)
{
- TQString name = TQString::tqfromLatin1(funnyname+funnyname_length-i-3);
+ TQString name = TQString::fromLatin1(funnyname+funnyname_length-i-3);
if (!appinfo->setCategoryName(i,name))
{
WARNINGKPILOT << "Failed to set category " << i << " name to <" << name << ">" << endl;
diff --git a/tests/testdatabase.cc b/tests/testdatabase.cc
index 7a88089..02b43c6 100644
--- a/tests/testdatabase.cc
+++ b/tests/testdatabase.cc
@@ -105,7 +105,7 @@ int checkDatabase(const char *path, recordInfo *info)
{
FUNCTIONSETUP;
- PilotLocalDatabase db(TQString::tqfromLatin1(path));
+ PilotLocalDatabase db(TQString::fromLatin1(path));
if (!db.isOpen())
{
kdDebug() << "No database " << path << endl;
@@ -191,7 +191,7 @@ TQStringList listCategories()
cats.append(s);
/*
if (i<((sizeof(categoryNames) / sizeof(categoryNames[0]))))
- m->setCategoryName(i,TQString::tqfromLatin1(categoryNames[i]));
+ m->setCategoryName(i,TQString::fromLatin1(categoryNames[i]));
*/
}