diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:31:05 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:31:05 -0600 |
commit | 238d438877620ed73915f2360d820cfc0c9131cc (patch) | |
tree | ddb04b2506c33b255ac5ac573b13c308a2a1ba96 /src/kcm/configdialog.cpp | |
parent | a1a658649b5cdda8bd7a7c4eae583d4dd7e0acf3 (diff) | |
download | knemo-238d438877620ed73915f2360d820cfc0c9131cc.tar.gz knemo-238d438877620ed73915f2360d820cfc0c9131cc.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/kcm/configdialog.cpp')
-rw-r--r-- | src/kcm/configdialog.cpp | 14 |
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 ); } } |