From d979df2f36840b03425e5dc40907f16d10fe4b5c Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:56:23 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 238d438877620ed73915f2360d820cfc0c9131cc. --- src/kcm/configdialog.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/kcm/configdialog.cpp') diff --git a/src/kcm/configdialog.cpp b/src/kcm/configdialog.cpp index 1a2c1c7..70950db 100644 --- a/src/kcm/configdialog.cpp +++ b/src/kcm/configdialog.cpp @@ -20,7 +20,7 @@ #include #include #include -#include +#include #include #include #include @@ -314,11 +314,11 @@ void ConfigDialog::load() { TQString entry; InterfaceCommand cmd; - entry = TQString( "RunAsRoot%1" ).arg( i + 1 ); + entry = TQString( "RunAsRoot%1" ).tqarg( i + 1 ); cmd.runAsRoot = config->readBoolEntry( entry ); - entry = TQString( "Command%1" ).arg( i + 1 ); + entry = TQString( "Command%1" ).tqarg( i + 1 ); cmd.command = config->readEntry( entry ); - entry = TQString( "MenuText%1" ).arg( i + 1 ); + entry = TQString( "MenuText%1" ).tqarg( 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" ).arg( i + 1 ); + entry = TQString( "RunAsRoot%1" ).tqarg( i + 1 ); config->writeEntry( entry, settings->commands[i].runAsRoot ); - entry = TQString( "Command%1" ).arg( i + 1 ); + entry = TQString( "Command%1" ).tqarg( i + 1 ); config->writeEntry( entry, settings->commands[i].command ); - entry = TQString( "MenuText%1" ).arg( i + 1 ); + entry = TQString( "MenuText%1" ).tqarg( i + 1 ); config->writeEntry( entry, settings->commands[i].menuText ); } } -- cgit v1.2.3