diff options
Diffstat (limited to 'src/micro/asminfo.h')
-rw-r--r-- | src/micro/asminfo.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/micro/asminfo.h b/src/micro/asminfo.h index 2026b7d..c2bc0bf 100644 --- a/src/micro/asminfo.h +++ b/src/micro/asminfo.h @@ -11,20 +11,20 @@ #ifndef ASMINFO_H #define ASMINFO_H -#include <qstring.h> -#include <qstringlist.h> -#include <qvaluelist.h> +#include <tqstring.h> +#include <tqstringlist.h> +#include <tqvaluelist.h> /** @author David Saxton */ struct Instruction { - QString operand; - QString description; - QString opcode; + TQString operand; + TQString description; + TQString opcode; }; -typedef QValueList<Instruction> InstructionList; +typedef TQValueList<Instruction> InstructionList; /** @short Base class for all instruction sets @@ -44,8 +44,8 @@ public: }; enum { AsmSetAll = PIC12 | PIC14 | PIC16 }; - static QString setToString( Set set ); - static Set stringToSet( const QString & set ); + static TQString setToString( Set set ); + static Set stringToSet( const TQString & set ); /** * @return the instruction set in use @@ -54,18 +54,18 @@ public: /** * Returns a list of instruction operands (all uppercase). */ - QStringList operandList() const { return m_operandList; } + TQStringList operandList() const { return m_operandList; } /** * @param operand is the name of the instruction - eg 'addwf' or 'clrwdt'. * @param description is instruction description - eg 'Add W and f'. * @param opcode' is the 14-bit code for the instruction, eg * '000111dfffffff'for addwf. */ - void addInstruction( const QString &operand, const QString &description, const QString &opcode ); + void addInstruction( const TQString &operand, const TQString &description, const TQString &opcode ); private: InstructionList m_instructionList; - QStringList m_operandList; + TQStringList m_operandList; }; #endif |