summaryrefslogtreecommitdiffstats
path: root/src/coff/base/disassembler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/coff/base/disassembler.h')
-rw-r--r--src/coff/base/disassembler.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/coff/base/disassembler.h b/src/coff/base/disassembler.h
index e713610..c2f7725 100644
--- a/src/coff/base/disassembler.h
+++ b/src/coff/base/disassembler.h
@@ -22,30 +22,30 @@ enum Type { Indented, NotIndented, Title, Separator, Empty };
class Data {
public:
- Data(Type _type = Empty, const QString &_code = QString::null, const QString &_comment = QString::null)
+ Data(Type _type = Empty, const TQString &_code = TQString(), const TQString &_comment = TQString())
: type(_type), code(_code), comment(_comment) {}
Type type;
- QString code, comment;
+ TQString code, comment;
};
-class List : public QValueList<Data>
+class List : public TQValueList<Data>
{
public:
List() {}
void appendSeparator() { append(Separator); }
void appendEmpty() { append(Empty); }
- void appendTitle(const QString &text) { append(Data(Title, QString::null, text)); }
- void appendIndentedCode(const QString &code, const QString &comment = QString::null) { append(Data(Indented, code, comment)); }
- void appendNotIndentedCode(const QString &code, const QString &comment = QString::null) { append(Data(NotIndented, code, comment)); }
+ void appendTitle(const TQString &text) { append(Data(Title, TQString(), text)); }
+ void appendIndentedCode(const TQString &code, const TQString &comment = TQString()) { append(Data(Indented, code, comment)); }
+ void appendNotIndentedCode(const TQString &code, const TQString &comment = TQString()) { append(Data(NotIndented, code, comment)); }
};
-extern QString comment(PURL::SourceFamily family, const QString &text);
-extern QStringList lines(PURL::SourceFamily family, const List &list, uint nbSpaces);
-extern QString text(PURL::SourceFamily family, const List &list, uint nbSpaces);
-extern QString transformConfigName(const Pic::Data &data, uint wordIndex, const QString &name);
-extern QStringList ignoredConfigNames(const Pic::Data &data, uint wordIndex);
-extern QStringList extraConfigNames(const Pic::Data &data, uint wordIndex, const Pic::Config::Value &value);
-extern QStringList configNames(Pic::ConfigNameType type, const Pic::Memory &memory, uint word, bool &ok);
+extern TQString comment(PURL::SourceFamily family, const TQString &text);
+extern TQStringList lines(PURL::SourceFamily family, const List &list, uint nbSpaces);
+extern TQString text(PURL::SourceFamily family, const List &list, uint nbSpaces);
+extern TQString transformConfigName(const Pic::Data &data, uint wordIndex, const TQString &name);
+extern TQStringList ignoredConfigNames(const Pic::Data &data, uint wordIndex);
+extern TQStringList extraConfigNames(const Pic::Data &data, uint wordIndex, const Pic::Config::Value &value);
+extern TQStringList configNames(Pic::ConfigNameType type, const Pic::Memory &memory, uint word, bool &ok);
} // namespace
@@ -53,7 +53,7 @@ extern QStringList configNames(Pic::ConfigNameType type, const Pic::Memory &memo
namespace GPUtils
{
-extern QString toDeviceName(const QString &device);
+extern TQString toDeviceName(const TQString &device);
extern SourceLine::List includeLines(const Device::Data &data);
extern SourceLine::List generateConfigLines(const Pic::Memory &memory, bool &ok);
extern SourceLine::List disassemble(const Pic::Memory &memory);