summaryrefslogtreecommitdiffstats
path: root/src/tools/c18/c18.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/c18/c18.cpp')
-rw-r--r--src/tools/c18/c18.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/tools/c18/c18.cpp b/src/tools/c18/c18.cpp
index 4eb5bfd..5c2b725 100644
--- a/src/tools/c18/c18.cpp
+++ b/src/tools/c18/c18.cpp
@@ -8,7 +8,7 @@
***************************************************************************/
#include "c18.h"
-#include <qdir.h>
+#include <tqdir.h>
#include "c18_compile.h"
#include "c18_config.h"
@@ -18,21 +18,21 @@
#include "common/global/process.h"
//----------------------------------------------------------------------------
-bool C18::Compiler::checkExecutableResult(bool, QStringList &lines) const
+bool C18::Compiler::checkExecutableResult(bool, TQStringList &lines) const
{
return ( lines.count()>0 && lines[0].startsWith("MPLAB C18") );
}
-bool C18::Linker::checkExecutableResult(bool, QStringList &lines) const
+bool C18::Linker::checkExecutableResult(bool, TQStringList &lines) const
{
return ( lines.count()>0 && lines[0].startsWith("MPLINK") );
}
//----------------------------------------------------------------------------
-QValueList<const Device::Data *> C18::Group::getSupportedDevices(const QString &) const
+TQValueList<const Device::Data *> C18::Group::getSupportedDevices(const TQString &) const
{
- QValueVector<QString> devices = Device::lister().group("pic")->supportedDevices();
- QValueList<const Device::Data *> list;
+ TQValueVector<TQString> devices = Device::lister().group("pic")->supportedDevices();
+ TQValueList<const Device::Data *> list;
for (uint i=0; i<devices.count(); i++) {
const Device::Data *data = Device::lister().data(devices[i]);
if ( static_cast<const Pic::Data *>(data)->is18Family() ) list.append(data);
@@ -49,7 +49,7 @@ Compile::Process *C18::Group::processFactory(const Compile::Data &data) const
PURL::Directory C18::Group::autodetectDirectory(Compile::DirectoryType type, const PURL::Directory &execDir, bool) const
{
- QDir dir(execDir.path());
+ TQDir dir(execDir.path());
if ( !dir.cdUp() ) return PURL::Directory();
switch (type.type()) {
case Compile::DirectoryType::LinkerScript:
@@ -80,7 +80,7 @@ Tool::Group::BaseData C18::Group::baseFactory(Tool::Category category) const
return BaseData();
}
-QString C18::Group::informationText() const
+TQString C18::Group::informationText() const
{
- return i18n("<qt><a href=\"%1\">C18</a> is a C compiler distributed by Microchip.</qt>").arg("http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en010014&part=SW006011");
+ return i18n("<qt><a href=\"%1\">C18</a> is a C compiler distributed by Microchip.</qt>").tqarg("http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en010014&part=SW006011");
}