summaryrefslogtreecommitdiffstats
path: root/korn/accountmanager.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 /korn/accountmanager.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 'korn/accountmanager.cpp')
-rw-r--r--korn/accountmanager.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/korn/accountmanager.cpp b/korn/accountmanager.cpp
index 9c2d3fd4..5a93ec67 100644
--- a/korn/accountmanager.cpp
+++ b/korn/accountmanager.cpp
@@ -53,14 +53,14 @@ AccountManager::~AccountManager()
void AccountManager::readConfig( KConfig* config, const int index )
{
- KConfigGroup *masterGroup = new KConfigGroup( config, TQString( "korn-%1" ).arg( index ) );
+ KConfigGroup *masterGroup = new KConfigGroup( config, TQString( "korn-%1" ).tqarg( index ) );
TQStringList dcop = masterGroup->readListEntry( "dcop", ',' );
KConfigGroup *accountGroup;
int counter = 0;
- while( config->hasGroup( TQString( "korn-%1-%2" ).arg( index ).arg( counter ) ) )
+ while( config->hasGroup( TQString( "korn-%1-%2" ).tqarg( index ).tqarg( counter ) ) )
{
- accountGroup = new KConfigGroup( config, TQString( "korn-%1-%2" ).arg( index ).arg( counter ) );
+ accountGroup = new KConfigGroup( config, TQString( "korn-%1-%2" ).tqarg( index ).tqarg( counter ) );
const Protocol *proto = Protocols::getProto( accountGroup->readEntry( "protocol" ) );
if( !proto )
@@ -144,7 +144,7 @@ void AccountManager::writeConfig( KConfig* config, const int index )
TQMap< KMailDrop*, Dropinfo* >::Iterator it;
for( it = _dropInfo->begin(); it != _dropInfo->end(); ++it )
{
- config->setGroup( TQString( "korn-%1-%2" ).arg( index ).arg( it.data()->index ) );
+ config->setGroup( TQString( "korn-%1-%2" ).tqarg( index ).tqarg( it.data()->index ) );
config->writeEntry( "reset", it.data()->reset );
}
}
@@ -155,9 +155,9 @@ TQString AccountManager::getTooltip() const
TQMap< KMailDrop*, Dropinfo* >::Iterator it;
for( it = _dropInfo->begin(); it != _dropInfo->end(); ++it )
if( it.key()->valid() )
- result.append( TQString( "%1: %2" ).arg( it.key()->realName() ).arg( it.data()->msgnr - it.data()->reset ));
+ result.append( TQString( "%1: %2" ).tqarg( it.key()->realName() ).tqarg( it.data()->msgnr - it.data()->reset ));
else
- result.append( TQString( "%1: invalid" ).arg( it.key()->realName() ) );
+ result.append( TQString( "%1: invalid" ).tqarg( it.key()->realName() ) );
result.sort();
return result.join( TQChar( '\n' ) );
}