summaryrefslogtreecommitdiffstats
path: root/kresources/egroupware/kabc_resourcexmlrpc.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/egroupware/kabc_resourcexmlrpc.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/egroupware/kabc_resourcexmlrpc.cpp')
-rw-r--r--kresources/egroupware/kabc_resourcexmlrpc.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kresources/egroupware/kabc_resourcexmlrpc.cpp b/kresources/egroupware/kabc_resourcexmlrpc.cpp
index ae789ef62..2e5053240 100644
--- a/kresources/egroupware/kabc_resourcexmlrpc.cpp
+++ b/kresources/egroupware/kabc_resourcexmlrpc.cpp
@@ -393,7 +393,7 @@ void ResourceXMLRPC::deleteContactFinished( const TQValueList<TQVariant>&,
void ResourceXMLRPC::fault( int error, const TQString &errorMsg,
const TQVariant& )
{
- TQString msg = i18n( "<qt>Server sent error %1: <b>%2</b></qt>" ).arg( error ).arg( errorMsg );
+ TQString msg = i18n( "<qt>Server sent error %1: <b>%2</b></qt>" ).tqarg( error ).tqarg( errorMsg );
if ( addressBook() )
addressBook()->error( msg );
@@ -408,7 +408,7 @@ void ResourceXMLRPC::addContactFault( int, const TQString &errorMsg,
mAddrMap.remove( addr.uid() );
TQString msg = i18n( "Unable to add contact %1 to server. (%2)" );
- addressBook()->error( msg.arg( addr.formattedName(), errorMsg ) );
+ addressBook()->error( msg.tqarg( addr.formattedName(), errorMsg ) );
}
void ResourceXMLRPC::updateContactFault( int, const TQString &errorMsg,
@@ -417,7 +417,7 @@ void ResourceXMLRPC::updateContactFault( int, const TQString &errorMsg,
KABC::Addressee addr = mAddrMap[ id.toString() ];
TQString msg = i18n( "Unable to update contact %1 on server. (%2)" );
- addressBook()->error( msg.arg( addr.formattedName(), errorMsg ) );
+ addressBook()->error( msg.tqarg( addr.formattedName(), errorMsg ) );
}
void ResourceXMLRPC::deleteContactFault( int, const TQString &errorMsg,
@@ -437,7 +437,7 @@ void ResourceXMLRPC::deleteContactFault( int, const TQString &errorMsg,
mAddrMap.insert( addr.uid(), addr );
TQString msg = i18n( "Unable to delete contact %1 from server. (%2)" );
- addressBook()->error( msg.arg( addr.formattedName(), errorMsg ) );
+ addressBook()->error( msg.tqarg( addr.formattedName(), errorMsg ) );
}
TQString ResourceXMLRPC::addrTypesToTypeStr( int typeMask )