summaryrefslogtreecommitdiffstats
path: root/korn/accountmanager.cpp
diff options
context:
space:
mode:
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 a791c53d4..ddadf7c23 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' ) );
}