summaryrefslogtreecommitdiffstats
path: root/kresources/scalix/kioslave
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/scalix/kioslave')
-rw-r--r--kresources/scalix/kioslave/scalix.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kresources/scalix/kioslave/scalix.cpp b/kresources/scalix/kioslave/scalix.cpp
index d5603af92..36b2aa776 100644
--- a/kresources/scalix/kioslave/scalix.cpp
+++ b/kresources/scalix/kioslave/scalix.cpp
@@ -73,7 +73,7 @@ void Scalix::get( const KURL &url )
TQString path = url.path();
- if ( path.tqcontains( "/freebusy/" ) ) {
+ if ( path.contains( "/freebusy/" ) ) {
retrieveFreeBusy( url );
} else {
error( KIO::ERR_SLAVE_DEFINED, i18n( "Unknown path. Known path is '/freebusy/'" ) );
@@ -84,7 +84,7 @@ void Scalix::put( const KURL& url, int, bool, bool )
{
TQString path = url.path();
- if ( path.tqcontains( "/freebusy/" ) ) {
+ if ( path.contains( "/freebusy/" ) ) {
publishFreeBusy( url );
} else {
error( KIO::ERR_SLAVE_DEFINED, i18n( "Unknown path. Known path is '/freebusy/'" ) );
@@ -134,12 +134,12 @@ void Scalix::publishFreeBusy( const KURL &url )
TQString path = url.path();
// extract user name
- int lastSlash = path.tqfindRev( '/' );
+ int lastSlash = path.findRev( '/' );
if ( lastSlash != -1 )
requestUser = path.mid( lastSlash + 1 );
// extract calendar name
- int secondSlash = path.tqfind( '/', 1 );
+ int secondSlash = path.find( '/', 1 );
if ( secondSlash != -1 )
calendar = path.mid( secondSlash + 1, lastSlash - secondSlash - 1 );