summaryrefslogtreecommitdiffstats
path: root/kresources/scalix/kioslave/scalix.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-14 20:16:30 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-14 20:16:30 +0000
commit1c93fca14d9ce37499bcfdf994c660186a0b6f17 (patch)
treef2defe163a805a9e34a2142dfde4cdb5e49241e7 /kresources/scalix/kioslave/scalix.cpp
parent67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (diff)
downloadtdepim-1c93fca14d9ce37499bcfdf994c660186a0b6f17.tar.gz
tdepim-1c93fca14d9ce37499bcfdf994c660186a0b6f17.zip
Enable kdepim compilation under Qt4
This will likely break Qt3 compilation temporarily, which is an unintended side effect. A third and final kdepim commit will repair Qt3 compilation shortly. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227946 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kresources/scalix/kioslave/scalix.cpp')
-rw-r--r--kresources/scalix/kioslave/scalix.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kresources/scalix/kioslave/scalix.cpp b/kresources/scalix/kioslave/scalix.cpp
index c3a8f99b0..d5603af92 100644
--- a/kresources/scalix/kioslave/scalix.cpp
+++ b/kresources/scalix/kioslave/scalix.cpp
@@ -104,14 +104,14 @@ void Scalix::retrieveFreeBusy( const KURL &url )
TQByteArray packedArgs;
TQDataStream stream( packedArgs, IO_WriteOnly );
- const TQString argument = TQString( "BEGIN:VFREEBUSY\nATTENDEE:MAILTO:%1\nEND:VFREEBUSY" ).arg( requestUser );
- const TQString command = TQString( "X-GET-ICAL-FREEBUSY {%1}" ).arg( argument.length() );
+ const TQString argument = TQString( "BEGIN:VFREEBUSY\nATTENDEE:MAILTO:%1\nEND:VFREEBUSY" ).tqarg( requestUser );
+ const TQString command = TQString( "X-GET-ICAL-FREEBUSY {%1}" ).tqarg( argument.length() );
stream << (int) 'X' << 'E' << command << argument;
- TQString imapUrl = TQString( "imap://%1@%3/" ).arg( url.pass().isEmpty() ?
+ TQString imapUrl = TQString( "imap://%1@%3/" ).tqarg( url.pass().isEmpty() ?
url.user() : url.user() + ":" + url.pass() )
- .arg( url.host() );
+ .tqarg( url.host() );
mFreeBusyData = TQString();
@@ -134,7 +134,7 @@ void Scalix::publishFreeBusy( const KURL &url )
TQString path = url.path();
// extract user name
- int lastSlash = path.findRev( '/' );
+ int lastSlash = path.tqfindRev( '/' );
if ( lastSlash != -1 )
requestUser = path.mid( lastSlash + 1 );
@@ -173,13 +173,13 @@ void Scalix::publishFreeBusy( const KURL &url )
TQDataStream stream( packedArgs, IO_WriteOnly );
const TQString argument = TQString::fromUtf8( data );
- const TQString command = TQString( "X-PUT-ICAL-FREEBUSY Calendar {%1}" ).arg( argument.length() );
+ const TQString command = TQString( "X-PUT-ICAL-FREEBUSY Calendar {%1}" ).tqarg( argument.length() );
stream << (int) 'X' << 'E' << command << argument;
- TQString imapUrl = TQString( "imap://%1@%3/" ).arg( url.pass().isEmpty() ?
+ TQString imapUrl = TQString( "imap://%1@%3/" ).tqarg( url.pass().isEmpty() ?
url.user() : url.user() + ":" + url.pass() )
- .arg( url.host() );
+ .tqarg( url.host() );
KIO::SimpleJob *job = KIO::special( imapUrl, packedArgs, false );
connect( job, TQT_SIGNAL( result( KIO::Job* ) ),