summaryrefslogtreecommitdiffstats
path: root/korn/korncfgimpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korn/korncfgimpl.cpp')
-rw-r--r--korn/korncfgimpl.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/korn/korncfgimpl.cpp b/korn/korncfgimpl.cpp
index 0616e6fee..b61cf32c7 100644
--- a/korn/korncfgimpl.cpp
+++ b/korn/korncfgimpl.cpp
@@ -91,10 +91,10 @@ void KornCfgImpl::slotDialogDestroyed()
void KornCfgImpl::slotElementsSwapped( int box1, int box2 )
{
int accountnumber1 = 0, accountnumber2 = 0;
- while( _config->hasGroup( TQString( "korn-%1-%2" ).tqarg( box1 ).tqarg( accountnumber1 ) ) )
+ while( _config->hasGroup( TQString( "korn-%1-%2" ).arg( box1 ).arg( accountnumber1 ) ) )
++accountnumber1;
- while( _config->hasGroup( TQString( "korn-%1-%2" ).tqarg( box2 ).tqarg( accountnumber2 ) ) )
+ while( _config->hasGroup( TQString( "korn-%1-%2" ).arg( box2 ).arg( accountnumber2 ) ) )
++accountnumber2;
KOrnPassword::swapKOrnWalletPasswords( box1, accountnumber1, box2, accountnumber2 );
@@ -103,7 +103,7 @@ void KornCfgImpl::slotElementsSwapped( int box1, int box2 )
void KornCfgImpl::slotElementDeleted( int box )
{
int accountnumber = 0;
- while( _config->hasGroup( TQString( "korn-%1-%2" ).tqarg( box ).tqarg( accountnumber ) ) )
+ while( _config->hasGroup( TQString( "korn-%1-%2" ).arg( box ).arg( accountnumber ) ) )
{
KOrnPassword::deleteKOrnPassword( box, accountnumber );
++accountnumber;
@@ -161,7 +161,7 @@ void KornCfgImpl::slotSetDefaults( const TQString& name, const int index, KConfi
config->writeEntry( "passivedate", false );
config->writeEntry( "numaccounts", 1 );
config->writeEntry( "dcop", TQStringList() );
- config->setGroup( TQString( "korn-%1-0" ).tqarg( index ) );
+ config->setGroup( TQString( "korn-%1-0" ).arg( index ) );
config->writeEntry( "name", name );
config->writeEntry( "protocol", "mbox" );
config->writeEntry( "server", TQString() );
@@ -236,12 +236,12 @@ void KornCfgImpl::rewritePasswords()
int account = 0 - 1;
KConfigGroup *group;
- while( _config->hasGroup( TQString( "korn-%1" ).tqarg( ++box ) ) )
+ while( _config->hasGroup( TQString( "korn-%1" ).arg( ++box ) ) )
{
account = 0 - 1;
- while( _config->hasGroup( TQString( "korn-%1-%2" ).tqarg( box ).tqarg( ++account ) ) )
+ while( _config->hasGroup( TQString( "korn-%1-%2" ).arg( box ).arg( ++account ) ) )
{
- group = new KConfigGroup( _config, TQString( "korn-%1-%2" ).tqarg( box ).tqarg( account ) );
+ group = new KConfigGroup( _config, TQString( "korn-%1-%2" ).arg( box ).arg( account ) );
KOrnPassword::rewritePassword( box, account, *group, chUseWallet->isChecked() );
delete group;
}