summaryrefslogtreecommitdiffstats
path: root/src/kcm/configdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kcm/configdialog.cpp')
-rw-r--r--src/kcm/configdialog.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kcm/configdialog.cpp b/src/kcm/configdialog.cpp
index 70950db..6da6e91 100644
--- a/src/kcm/configdialog.cpp
+++ b/src/kcm/configdialog.cpp
@@ -314,11 +314,11 @@ void ConfigDialog::load()
{
TQString entry;
InterfaceCommand cmd;
- entry = TQString( "RunAsRoot%1" ).tqarg( i + 1 );
+ entry = TQString( "RunAsRoot%1" ).arg( i + 1 );
cmd.runAsRoot = config->readBoolEntry( entry );
- entry = TQString( "Command%1" ).tqarg( i + 1 );
+ entry = TQString( "Command%1" ).arg( i + 1 );
cmd.command = config->readEntry( entry );
- entry = TQString( "MenuText%1" ).tqarg( i + 1 );
+ entry = TQString( "MenuText%1" ).arg( i + 1 );
cmd.menuText = config->readEntry( entry );
settings->commands.append( cmd );
}
@@ -384,11 +384,11 @@ void ConfigDialog::save()
for ( uint i = 0; i < settings->commands.size(); i++ )
{
TQString entry;
- entry = TQString( "RunAsRoot%1" ).tqarg( i + 1 );
+ entry = TQString( "RunAsRoot%1" ).arg( i + 1 );
config->writeEntry( entry, settings->commands[i].runAsRoot );
- entry = TQString( "Command%1" ).tqarg( i + 1 );
+ entry = TQString( "Command%1" ).arg( i + 1 );
config->writeEntry( entry, settings->commands[i].command );
- entry = TQString( "MenuText%1" ).tqarg( i + 1 );
+ entry = TQString( "MenuText%1" ).arg( i + 1 );
config->writeEntry( entry, settings->commands[i].menuText );
}
}