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.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/kcm/configdialog.cpp b/src/kcm/configdialog.cpp
index 70950db..1a2c1c7 100644
--- a/src/kcm/configdialog.cpp
+++ b/src/kcm/configdialog.cpp
@@ -20,7 +20,7 @@
#include <tqfile.h>
#include <tqdict.h>
#include <tqlabel.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqcstring.h>
#include <tqlistbox.h>
#include <tqcheckbox.h>
@@ -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 );
}
}