summaryrefslogtreecommitdiffstats
path: root/src/tools/boost/boost_generator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/boost/boost_generator.cpp')
-rw-r--r--src/tools/boost/boost_generator.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tools/boost/boost_generator.cpp b/src/tools/boost/boost_generator.cpp
index 2fa1393..0d204ad 100644
--- a/src/tools/boost/boost_generator.cpp
+++ b/src/tools/boost/boost_generator.cpp
@@ -20,9 +20,9 @@ SourceLine::List Boost::CSourceGenerator::configLines(PURL::ToolType, const Devi
Address address = data.range(Pic::MemoryRangeType::Config).start;
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 = "#pragma DATA ";
+ TQString code = "#pragma DATA ";
if ( cword.name.isEmpty() ) code += toHexLabel(address, data.nbCharsAddress());
else code += "__" + cword.name;
code += cnames.join(" & ") + ";";
@@ -44,12 +44,12 @@ SourceLine::List Boost::CSourceGenerator::sourceFileContent(PURL::ToolType, cons
SourceLine::List lines;
lines.appendTitle(i18n("interrupt service routine"));
lines.appendNotIndentedCode("void interrupt(void) {");
- lines.appendIndentedCode(QString::null, "<< " + i18n("insert interrupt code") + " >>");
+ lines.appendIndentedCode(TQString(), "<< " + i18n("insert interrupt code") + " >>");
lines.appendNotIndentedCode("}");
lines.appendEmpty();
lines.appendTitle(i18n("main program"));
lines.appendNotIndentedCode("void main() {");
- lines.appendIndentedCode(QString::null, "<< " + i18n("insert code") + " >>");
+ lines.appendIndentedCode(TQString(), "<< " + i18n("insert code") + " >>");
lines.appendNotIndentedCode("}");
return lines;
}
@@ -73,7 +73,7 @@ SourceLine::List Boost::BasicSourceGenerator::sourceFileContent(PURL::ToolType,
ok = true;
lines.appendTitle(i18n("main program"));
lines.appendNotIndentedCode("Sub main()");
- lines.appendIndentedCode(QString::null, "<< " + i18n("insert code") + " >>");
+ lines.appendIndentedCode(TQString(), "<< " + i18n("insert code") + " >>");
lines.appendIndentedCode("Do while 1", i18n("loop forever"));
lines.appendIndentedCode("Loop");
lines.appendNotIndentedCode("End Sub");