summaryrefslogtreecommitdiffstats
path: root/src/coff/base/cdb_parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/coff/base/cdb_parser.h')
-rw-r--r--src/coff/base/cdb_parser.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/coff/base/cdb_parser.h b/src/coff/base/cdb_parser.h
index 42572ab..52fa17a 100644
--- a/src/coff/base/cdb_parser.h
+++ b/src/coff/base/cdb_parser.h
@@ -25,7 +25,7 @@ public:
class ModuleRecord : public Record
{
public:
- QString filename;
+ TQString filename;
};
BEGIN_DECLARE_ENUM(ScopeType)
@@ -36,7 +36,7 @@ class Scope
{
public:
ScopeType type;
- QString name; // file or function name
+ TQString name; // file or function name
uint level, block;
};
@@ -51,7 +51,7 @@ class DCLType
public:
VarType type;
uint nb; // for Array and BitField
- QString name; // for Structure
+ TQString name; // for Structure
};
BEGIN_DECLARE_ENUM(Sign)
@@ -61,7 +61,7 @@ END_DECLARE_ENUM_STD(Sign)
class TypeChain
{
public:
- QValueVector<DCLType> types;
+ TQValueVector<DCLType> types;
Sign sign;
};
@@ -76,13 +76,13 @@ public:
AddressSpaceType type;
bool onStack;
uint stackOffset; // valid if onStack is true
- QStringList registers; // for Register type
+ TQStringList registers; // for Register type
};
class SymbolRecord : public Record
{
public:
- QString name;
+ TQString name;
Scope scope;
TypeChain typeChain;
AddressSpace addressSpace;
@@ -105,8 +105,8 @@ public:
class TypeRecord : public Record
{
public:
- QString filename, name;
- QValueVector<TypeMember> members;
+ TQString filename, name;
+ TQValueVector<TypeMember> members;
};
class LinkerRecord : public Record
@@ -115,10 +115,10 @@ public:
enum Type { Address = 0, EndAddress, AsmLine, CLine, Nb_Types };
Type type;
Scope scope; // for Address and EndAddress
- QString name; // for Address and EndAddress
+ TQString name; // for Address and EndAddress
uint address;
uint line; // for AsmLine and CLine
- QString filename; // for AsmLine and CLine
+ TQString filename; // for AsmLine and CLine
uint block, level; // for CLine
};
@@ -131,23 +131,23 @@ public:
private:
Log::Base &_log;
- QString _current;
+ TQString _current;
uint _line, _col;
- QValueVector<Record *> _records;
+ TQValueVector<Record *> _records;
- void log(Log::LineType type, const QString &message);
- void logMalformed(const QString &detail);
+ void log(Log::LineType type, const TQString &message);
+ void logMalformed(const TQString &detail);
bool readBool(bool &b);
- bool getUInt(const QString &s, uint &r);
+ bool getUInt(const TQString &s, uint &r);
bool readUInt(uint &v);
bool readChar(char &c);
bool readAndCheckChar(char c);
- bool getString(const QString &s, QString &r);
- bool readStoppedString(QString &s, char stop);
- bool readFixedLengthString(QString &s, uint size);
+ bool getString(const TQString &s, TQString &r);
+ bool readStoppedString(TQString &s, char stop);
+ bool readFixedLengthString(TQString &s, uint size);
bool readHex(uint &v);
- bool parse(Scope &scope, QString &name);
+ bool parse(Scope &scope, TQString &name);
bool parse(TypeChain &typeChain);
bool parse(TypeRecord &typeRecord);
bool parse(SymbolRecord &sr);