summaryrefslogtreecommitdiffstats
path: root/src/tools/pic30/pic30_generator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/pic30/pic30_generator.cpp')
-rw-r--r--src/tools/pic30/pic30_generator.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tools/pic30/pic30_generator.cpp b/src/tools/pic30/pic30_generator.cpp
index fe874e3..119c466 100644
--- a/src/tools/pic30/pic30_generator.cpp
+++ b/src/tools/pic30/pic30_generator.cpp
@@ -18,9 +18,9 @@ SourceLine::List PIC30::SourceGenerator::configLines(PURL::ToolType type, const
SourceLine::List lines;
for (uint i=0; i<data.nbWords(Pic::MemoryRangeType::Config); i++) {
const Pic::Config::Word &cword = config._words[i];
- QStringList cnames = SourceLine::configNames(Pic::ConfigNameType::Default, pmemory, i, ok);
+ TQStringList cnames = SourceLine::configNames(Pic::ConfigNameType::Default, pmemory, i, ok);
if ( cnames.isEmpty() ) continue;
- QString code;
+ TQString code;
if ( type==PURL::ToolType::Assembler ) code += "config __" + cword.name + ", ";
else code += "_" + cword.name + "(";
code += cnames.join(" & ");
@@ -76,7 +76,7 @@ SourceLine::List PIC30::SourceGenerator::sourceFileContent(PURL::ToolType type,
lines.appendIndentedCode("NOP", i18n("nop after SPLIM initialization"));
lines.appendIndentedCode("CALL _wreg_init", i18n("call _wreg_init subroutine"));
lines.appendEmpty();
- lines.appendIndentedCode(QString::null, "<<" + i18n("insert code") + ">>");
+ lines.appendIndentedCode(TQString(), "<<" + i18n("insert code") + ">>");
lines.appendEmpty();
lines.appendNotIndentedCode("done:");
lines.appendIndentedCode("BRA done", i18n("loop forever"));
@@ -95,7 +95,7 @@ SourceLine::List PIC30::SourceGenerator::sourceFileContent(PURL::ToolType type,
lines.appendTitle(i18n("Timer1 interrupt service routine"));
lines.appendNotIndentedCode("__T1Interrupt:");
lines.appendIndentedCode("PUSH.D W4", i18n("example of context saving (push W4 and W5)"));
- lines.appendIndentedCode(QString::null, "<<" + i18n("insert interrupt code") + ">>");
+ lines.appendIndentedCode(TQString(), "<<" + i18n("insert interrupt code") + ">>");
lines.appendIndentedCode("BCLR IFS0, #T1IF", i18n("clear Timer1 interrupt flag status bit"));
lines.appendIndentedCode("POP.D W4", i18n("restore context from stack"));
lines.appendIndentedCode("RETFIE");