summaryrefslogtreecommitdiffstats
path: root/kresources/scalix/kioslave
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/scalix/kioslave')
-rw-r--r--kresources/scalix/kioslave/scalix.cpp2
-rw-r--r--kresources/scalix/kioslave/scalix.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/kresources/scalix/kioslave/scalix.cpp b/kresources/scalix/kioslave/scalix.cpp
index 2a0c06cdd..c3a8f99b0 100644
--- a/kresources/scalix/kioslave/scalix.cpp
+++ b/kresources/scalix/kioslave/scalix.cpp
@@ -139,7 +139,7 @@ void Scalix::publishFreeBusy( const KURL &url )
requestUser = path.mid( lastSlash + 1 );
// extract calendar name
- int secondSlash = path.find( '/', 1 );
+ int secondSlash = path.tqfind( '/', 1 );
if ( secondSlash != -1 )
calendar = path.mid( secondSlash + 1, lastSlash - secondSlash - 1 );
diff --git a/kresources/scalix/kioslave/scalix.h b/kresources/scalix/kioslave/scalix.h
index 25a2fdeac..16f60be7e 100644
--- a/kresources/scalix/kioslave/scalix.h
+++ b/kresources/scalix/kioslave/scalix.h
@@ -29,6 +29,7 @@
class Scalix : public TQObject, public KIO::SlaveBase
{
Q_OBJECT
+ TQ_OBJECT
public:
Scalix( const TQCString &protocol, const TQCString &pool, const TQCString &app );