summaryrefslogtreecommitdiffstats
path: root/src/asmformatter.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-29 16:05:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-29 16:05:55 +0000
commit87a016680e3677da3993f333561e79eb0cead7d5 (patch)
treecbda2b4df8b8ee0d8d1617e6c75bec1e3ee0ccba /src/asmformatter.h
parent6ce3d1ad09c1096b5ed3db334e02859e45d5c32b (diff)
downloadktechlab-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/asmformatter.h')
-rw-r--r--src/asmformatter.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/asmformatter.h b/src/asmformatter.h
index a6fa361..f4867cb 100644
--- a/src/asmformatter.h
+++ b/src/asmformatter.h
@@ -11,7 +11,7 @@
#ifndef ASMFORMATTER_H
#define ASMFORMATTER_H
-#include <qstringlist.h>
+#include <tqstringlist.h>
/**
@author David Saxton
@@ -22,18 +22,18 @@ class InstructionParts
/**
* Breaks up the line into parts.
*/
- InstructionParts( QString line );
+ InstructionParts( TQString line );
- QString label() const { return m_label; }
- QString operand() const { return m_operand; }
- QString operandData() const { return m_operandData; }
- QString comment() const { return m_comment; }
+ TQString label() const { return m_label; }
+ TQString operand() const { return m_operand; }
+ TQString operandData() const { return m_operandData; }
+ TQString comment() const { return m_comment; }
protected:
- QString m_label;
- QString m_operand;
- QString m_operandData;
- QString m_comment; ///< includes the ";" part
+ TQString m_label;
+ TQString m_operand;
+ TQString m_operandData;
+ TQString m_comment; ///< includes the ";" part
};
/**
@@ -52,18 +52,18 @@ class AsmFormatter
Other, // eg comments, __config
};
- QString tidyAsm( QStringList lines );
+ TQString tidyAsm( TQStringList lines );
- static LineType lineType( QString line );
+ static LineType lineType( TQString line );
protected:
- QString tidyInstruction( const QString & line );
- QString tidyEqu( const QString & line );
+ TQString tidyInstruction( const TQString & line );
+ TQString tidyEqu( const TQString & line );
/**
* Appends spaces to the end of text until it is greater or equakl to
* length.
*/
- static void pad( QString & text, int length );
+ static void pad( TQString & text, int length );
int m_indentAsmName;
int m_indentAsmData;