diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-29 16:05:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-29 16:05:55 +0000 |
commit | 87a016680e3677da3993f333561e79eb0cead7d5 (patch) | |
tree | cbda2b4df8b8ee0d8d1617e6c75bec1e3ee0ccba /src/micro/asminfo.h | |
parent | 6ce3d1ad09c1096b5ed3db334e02859e45d5c32b (diff) | |
download | ktechlab-87a016680e3677da3993f333561e79eb0cead7d5.tar.gz ktechlab-87a016680e3677da3993f333561e79eb0cead7d5.zip |
TQt4 port ktechlab
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktechlab@1238801 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 |