summaryrefslogtreecommitdiffstats
path: root/karm/test
diff options
context:
space:
mode:
Diffstat (limited to 'karm/test')
-rw-r--r--karm/test/lockerthread.cpp2
-rw-r--r--karm/test/locking.cpp6
-rw-r--r--karm/test/script.cpp2
3 files changed, 5 insertions, 5 deletions
diff --git a/karm/test/lockerthread.cpp b/karm/test/lockerthread.cpp
index 914682210..aeff6cc76 100644
--- a/karm/test/lockerthread.cpp
+++ b/karm/test/lockerthread.cpp
@@ -26,7 +26,7 @@ void LockerThread::run()
KCal::ResourceCalendar *calendar = 0;
KCal::CalendarResources::Ticket *lock = 0;
- calendars = new KCal::CalendarResources( TQString::fromLatin1( "UTC" ) );
+ calendars = new KCal::CalendarResources( TQString::tqfromLatin1( "UTC" ) );
calendar = new KCal::ResourceLocal( m_icsfile );
lock = calendars->requestSaveTicket( calendar );
if ( lock )
diff --git a/karm/test/locking.cpp b/karm/test/locking.cpp
index 940a344d1..2c18d4fed 100644
--- a/karm/test/locking.cpp
+++ b/karm/test/locking.cpp
@@ -23,7 +23,7 @@ short test1()
KCal::ResourceCalendar *calendar = 0;
KCal::CalendarResources::Ticket *lock = 0;
- calendars = new KCal::CalendarResources( TQString::fromLatin1( "UTC" ) );
+ calendars = new KCal::CalendarResources( TQString::tqfromLatin1( "UTC" ) );
calendar = new KCal::ResourceLocal( icalfilename );
lock = calendars->requestSaveTicket( calendar );
@@ -62,7 +62,7 @@ short test2()
KCal::ResourceCalendar *calendar = 0;
KCal::CalendarResources::Ticket *lock = 0;
- calendars = new KCal::CalendarResources( TQString::fromLatin1( "UTC" ) );
+ calendars = new KCal::CalendarResources( TQString::tqfromLatin1( "UTC" ) );
calendar = new KCal::ResourceLocal( icalfilename );
LockerThread thread( icalfilename );
@@ -88,7 +88,7 @@ short test3()
KCal::ResourceCalendar *calendar = 0;
KCal::CalendarResources::Ticket *lock = 0;
- calendars = new KCal::CalendarResources( TQString::fromLatin1( "UTC" ) );
+ calendars = new KCal::CalendarResources( TQString::tqfromLatin1( "UTC" ) );
calendar = new KCal::ResourceLocal( icalfilename );
// lock then unlock
diff --git a/karm/test/script.cpp b/karm/test/script.cpp
index f9fa9d9e0..816314368 100644
--- a/karm/test/script.cpp
+++ b/karm/test/script.cpp
@@ -94,7 +94,7 @@ void Script::terminate()
void Script::exit()
{
- m_status = m_proc->exitStatus();
+ m_status = m_proc->exiStatus();
delete m_proc;
m_proc = 0;
}