diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:32:48 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:32:48 -0600 |
commit | bab171b2a7d7f36e2d5dd510df80fc8cb4a6b06f (patch) | |
tree | ebcbd8371d791d7419485d11deec88587c36aa7e /src/languages/picprogrammer.cpp | |
parent | 393fa51a38771670ecb265a99ab592e03f4ecc5c (diff) | |
download | ktechlab-bab171b2a7d7f36e2d5dd510df80fc8cb4a6b06f.tar.gz ktechlab-bab171b2a7d7f36e2d5dd510df80fc8cb4a6b06f.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/languages/picprogrammer.cpp')
-rw-r--r-- | src/languages/picprogrammer.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/languages/picprogrammer.cpp b/src/languages/picprogrammer.cpp index 5ef37dd..3200e99 100644 --- a/src/languages/picprogrammer.cpp +++ b/src/languages/picprogrammer.cpp @@ -22,7 +22,7 @@ #include <tqfile.h> #include <kprocess.h> #include <tqregexp.h> -#include <tqtextstream.h> +#include <textstream.h> #include <tqdatetime.h> #include <stdio.h> @@ -63,7 +63,7 @@ void PicProgrammerSettings::initStaticConfigs() m_bDoneStaticConfigsInit = true; ProgrammerConfig config; - config.description = i18n("Supported programmers: %1").tqarg("JuPic, PICStart Plus, Warp-13"); + config.description = i18n("Supported programmers: %1").arg("JuPic, PICStart Plus, Warp-13"); config.description += i18n("<br>Interface: Serial Port"); config.initCommand = ""; config.readCommand = "picp %port %device -rp %file"; @@ -75,7 +75,7 @@ void PicProgrammerSettings::initStaticConfigs() m_staticConfigs[ "PICP" ] = config; - config.description = i18n("Supported programmers: %1").tqarg("Epic Plus"); + config.description = i18n("Supported programmers: %1").arg("Epic Plus"); config.description += i18n("<br>Interface: Parallel Port"); config.initCommand = "odyssey init"; config.readCommand = "odyssey %device read %file"; @@ -87,7 +87,7 @@ void PicProgrammerSettings::initStaticConfigs() m_staticConfigs[ "Odyssey" ] = config; - config.description = i18n("Supported programmers: %1").tqarg("JDM PIC-Programmer 2, PIC-PG2C"); + config.description = i18n("Supported programmers: %1").arg("JDM PIC-Programmer 2, PIC-PG2C"); config.description += i18n("<br>Interface: Serial Port"); config.initCommand = ""; config.readCommand = "picprog --output %file --pic %port"; @@ -98,7 +98,7 @@ void PicProgrammerSettings::initStaticConfigs() m_staticConfigs[ "PICProg" ] = config; - config.description = i18n("Supported programmers: %1").tqarg("Epic Plus"); + config.description = i18n("Supported programmers: %1").arg("Epic Plus"); config.description += i18n("<br>Interface: Parallel Port"); config.initCommand = ""; config.readCommand = "dump84 --dump-all --output=%file"; @@ -109,7 +109,7 @@ void PicProgrammerSettings::initStaticConfigs() m_staticConfigs[ "prog84" ] = config; - config.description = i18n("Supported programmers: %1").tqarg("Kit 149, Kit 150"); + config.description = i18n("Supported programmers: %1").arg("Kit 149, Kit 150"); config.description += i18n("<br>Interface: USB Port"); config.initCommand = ""; config.readCommand = "pp -d %device -r %file"; @@ -120,7 +120,7 @@ void PicProgrammerSettings::initStaticConfigs() m_staticConfigs[ "PP" ] = config; - config.description = i18n("Supported programmers: %1").tqarg("Wisp628"); + config.description = i18n("Supported programmers: %1").arg("Wisp628"); config.description += i18n("<br>Interface: Serial Port"); config.initCommand = ""; config.readCommand = "xwisp ID %device PORT %device DUMP"; @@ -132,7 +132,7 @@ void PicProgrammerSettings::initStaticConfigs() #if 0 - config.description = i18n("Supported programmers: %1").tqarg("Epic Plus, JDM PIC-Programmer 2, PICCOLO, PICCOLO Grande, Trivial HVP Programmer"); + config.description = i18n("Supported programmers: %1").arg("Epic Plus, JDM PIC-Programmer 2, PICCOLO, PICCOLO Grande, Trivial HVP Programmer"); config.description += i18n("<br>Interface: Serial Port and Parallel Port"); config.initCommand = ""; config.readCommand = ""; @@ -145,7 +145,7 @@ void PicProgrammerSettings::initStaticConfigs() config.executable = ""; - config.description = i18n("Supported programmers: %1").tqarg("Trivial LVP programmer, Trivial HVP Programmer"); + config.description = i18n("Supported programmers: %1").arg("Trivial LVP programmer, Trivial HVP Programmer"); config.description += i18n("<br>Interface: Parallel Port"); config.initCommand = ""; config.readCommand = ""; @@ -156,7 +156,7 @@ void PicProgrammerSettings::initStaticConfigs() m_staticConfigs[ "PicPrg2" ] = config; - config.description = i18n("Supported programmers: %1").tqarg("El Cheapo"); + config.description = i18n("Supported programmers: %1").arg("El Cheapo"); config.description += i18n("<br>Interface: Parallel Port"); config.initCommand = ""; config.readCommand = ""; @@ -167,7 +167,7 @@ void PicProgrammerSettings::initStaticConfigs() m_staticConfigs[ "PP06" ] = config; - config.description = i18n("Supported programmers: %1").tqarg("NOPPP"); + config.description = i18n("Supported programmers: %1").arg("NOPPP"); config.description += i18n("<br>Interface: Parallel Port"); config.initCommand = ""; config.readCommand = ""; @@ -178,7 +178,7 @@ void PicProgrammerSettings::initStaticConfigs() m_staticConfigs[ "NOPPP" ] = config; - config.description = i18n("Supported programmers: %1").tqarg("SNOPPP"); + config.description = i18n("Supported programmers: %1").arg("SNOPPP"); config.description += i18n("<br>Interface: Parallel Port"); config.initCommand = ""; config.readCommand = ""; @@ -232,7 +232,7 @@ void PicProgrammerSettings::save( KConfig * config ) ProgrammerConfigMap::iterator end = m_customConfigs.end(); for ( ProgrammerConfigMap::iterator it = m_customConfigs.begin(); it != end; ++it ) { - config->setGroup( TQString("CustomProgrammer_%1").tqarg(at++) ); + config->setGroup( TQString("CustomProgrammer_%1").arg(at++) ); config->writeEntry( "Name", it.key() ); config->writeEntry( "InitCommand", it.data().initCommand ); |