diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:56:23 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:56:23 -0600 |
commit | d979df2f36840b03425e5dc40907f16d10fe4b5c (patch) | |
tree | fcf35fe4a4c90a220e799b51299b00f5cc1bb58b /src/kcm/configdialog.cpp | |
parent | 238d438877620ed73915f2360d820cfc0c9131cc (diff) | |
download | knemo-d979df2f36840b03425e5dc40907f16d10fe4b5c.tar.gz knemo-d979df2f36840b03425e5dc40907f16d10fe4b5c.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 238d438877620ed73915f2360d820cfc0c9131cc.
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 1a2c1c7..70950db 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 <layout.h> +#include <tqlayout.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" ).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 ); } } |