diff options
Diffstat (limited to 'src/tools/picc/picc.cpp')
-rw-r--r-- | src/tools/picc/picc.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/tools/picc/picc.cpp b/src/tools/picc/picc.cpp index f0d6e83..060aa4c 100644 --- a/src/tools/picc/picc.cpp +++ b/src/tools/picc/picc.cpp @@ -8,7 +8,7 @@ ***************************************************************************/ #include "picc.h" -#include <qregexp.h> +#include <tqregexp.h> #include "picc_compile.h" #include "picc_config.h" @@ -17,36 +17,36 @@ #include "common/global/process.h" //---------------------------------------------------------------------------- -bool PICC::Base::checkExecutableResult(bool, QStringList &lines) const +bool PICC::Base::checkExecutableResult(bool, TQStringList &lines) const { - return lines.join(" ").contains("HI-TECH"); + return lines.join(" ").tqcontains("HI-TECH"); } -QString PICC::BaseLite::baseExecutable(bool, Tool::OutputExecutableType) const +TQString PICC::BaseLite::baseExecutable(bool, Tool::OutputExecutableType) const { if ( _category.type()==Tool::Category::Librarian ) return "libr"; return "picl"; } -QString PICC::BaseNormal::baseExecutable(bool, Tool::OutputExecutableType) const +TQString PICC::BaseNormal::baseExecutable(bool, Tool::OutputExecutableType) const { if ( _category.type()==Tool::Category::Librarian ) return "libr"; return "picc"; } -QString PICC::Base18::baseExecutable(bool, Tool::OutputExecutableType) const +TQString PICC::Base18::baseExecutable(bool, Tool::OutputExecutableType) const { if ( _category.type()==Tool::Category::Librarian ) return "libr"; return "picc18"; } //---------------------------------------------------------------------------- -QValueList<const Device::Data *> PICC::Group::getSupportedDevices(const QString &s) const +TQValueList<const Device::Data *> PICC::Group::getSupportedDevices(const TQString &s) const { - QValueList<const Device::Data *> list; - QStringList lines = QStringList::split('\n', s); + TQValueList<const Device::Data *> list; + TQStringList lines = TQStringList::split('\n', s); for (uint i=0; i<lines.count(); i++) { - QRegExp re("([A-Za-z0-9]+):.*"); + TQRegExp re("([A-Za-z0-9]+):.*"); if ( !re.exactMatch(lines[i]) ) continue; const Device::Data *data = Device::lister().data(re.cap(1)); if (data) list.append(data); @@ -88,9 +88,9 @@ PURL::FileType PICC::Group::implementationType(PURL::ToolType type) const } //---------------------------------------------------------------------------- -QString PICC::PICCLiteGroup::informationText() const +TQString PICC::PICCLiteGroup::informationText() const { - return i18n("<a href=\"%1\">PICC-Lite</a> is a freeware C compiler distributed by HTSoft.").arg("http://www.htsoft.com"); + return i18n("<a href=\"%1\">PICC-Lite</a> is a freeware C compiler distributed by HTSoft.").tqarg("http://www.htsoft.com"); } Tool::Group::BaseData PICC::PICCLiteGroup::baseFactory(Tool::Category category) const @@ -101,9 +101,9 @@ Tool::Group::BaseData PICC::PICCLiteGroup::baseFactory(Tool::Category category) } //---------------------------------------------------------------------------- -QString PICC::PICCGroup::informationText() const +TQString PICC::PICCGroup::informationText() const { - return i18n("<a href=\"%1\">PICC</a> is a C compiler distributed by HTSoft.").arg("http://www.htsoft.com"); + return i18n("<a href=\"%1\">PICC</a> is a C compiler distributed by HTSoft.").tqarg("http://www.htsoft.com"); } Tool::Group::BaseData PICC::PICCGroup::baseFactory(Tool::Category category) const @@ -114,9 +114,9 @@ Tool::Group::BaseData PICC::PICCGroup::baseFactory(Tool::Category category) cons } //---------------------------------------------------------------------------- -QString PICC::PICC18Group::informationText() const +TQString PICC::PICC18Group::informationText() const { - return i18n("<a href=\"%1\">PICC 18</a> is a C compiler distributed by HTSoft.").arg("http://www.htsoft.com"); + return i18n("<a href=\"%1\">PICC 18</a> is a C compiler distributed by HTSoft.").tqarg("http://www.htsoft.com"); } Tool::Group::BaseData PICC::PICC18Group::baseFactory(Tool::Category category) const |