summaryrefslogtreecommitdiffstats
path: root/kresources/groupwise/kioslave
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/groupwise/kioslave')
-rw-r--r--kresources/groupwise/kioslave/groupwise.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kresources/groupwise/kioslave/groupwise.cpp b/kresources/groupwise/kioslave/groupwise.cpp
index 44178fe61..c535e5689 100644
--- a/kresources/groupwise/kioslave/groupwise.cpp
+++ b/kresources/groupwise/kioslave/groupwise.cpp
@@ -106,12 +106,12 @@ void Groupwise::get( const KURL &url )
TQString path = url.path();
debugMessage( "Path: " + path );
- if ( path.contains( "/freebusy" ) ) {
+ if ( path.tqcontains( "/freebusy" ) ) {
getFreeBusy( url );
- } else if ( path.contains( "/calendar" ) ) {
+ } else if ( path.tqcontains( "/calendar" ) ) {
getCalendar( url );
- } else if ( path.contains( "/addressbook" ) ) {
- if ( url.query().contains( "update=true" ) )
+ } else if ( path.tqcontains( "/addressbook" ) ) {
+ if ( url.query().tqcontains( "update=true" ) )
updateAddressbook( url );
else
getAddressbook( url );
@@ -169,8 +169,8 @@ void Groupwise::getFreeBusy( const KURL &url )
// Sanitise local Nuernberg email addresses
kdDebug() << "Email before sanitizing: " << email << endl;
- email = email.replace(TQRegExp("\\.EMEA5-1\\.EMEA5" ), "" );
- email = email.replace(TQRegExp("\\.Suse.INTERNET" ), "" );
+ email = email.tqreplace(TQRegExp("\\.EMEA5-1\\.EMEA5" ), "" );
+ email = email.tqreplace(TQRegExp("\\.Suse.INTERNET" ), "" );
kdDebug() << "Email after sanitizing: " << email << endl;
TQString u = soapUrl( url );
@@ -190,8 +190,8 @@ void Groupwise::getFreeBusy( const KURL &url )
GroupwiseServer server( u, user, pass, 0 );
// FIXME: Read range from configuration or URL parameters.
- TQDate start = TQDate::currentDate().addDays( -3 );
- TQDate end = TQDate::currentDate().addDays( 60 );
+ TQDate start = TQDate::tqcurrentDate().addDays( -3 );
+ TQDate end = TQDate::tqcurrentDate().addDays( 60 );
fb->setDtStart( start );
fb->setDtEnd( end );
@@ -241,7 +241,7 @@ void Groupwise::getCalendar( const KURL &url )
GroupwiseServer server( u, user, pass, 0 );
- KCal::CalendarLocal calendar( TQString::fromLatin1("UTC"));
+ KCal::CalendarLocal calendar( TQString::tqfromLatin1("UTC"));
kdDebug() << "Login" << endl;
if ( !server.login() ) {