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 /kresources/groupwise/kioslave/groupwise.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 'kresources/groupwise/kioslave/groupwise.cpp')
-rw-r--r-- | kresources/groupwise/kioslave/groupwise.cpp | 18 |
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() ) { |