summaryrefslogtreecommitdiffstats
path: root/kdvi/bigEndianByteReader.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
commite69e8b1d09fb579316595b4e6a850e717358a8b1 (patch)
treea24fc20865f65772f530d16177520190594ffdd2 /kdvi/bigEndianByteReader.h
parenteecec9afb81fdebb0f22e9da22635874c403f854 (diff)
downloadtdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.tar.gz
tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.zip
TQt4 port kdegraphics
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1237557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdvi/bigEndianByteReader.h')
-rw-r--r--kdvi/bigEndianByteReader.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/kdvi/bigEndianByteReader.h b/kdvi/bigEndianByteReader.h
index 06ef1b13..269d97d1 100644
--- a/kdvi/bigEndianByteReader.h
+++ b/kdvi/bigEndianByteReader.h
@@ -24,38 +24,38 @@ class bigEndianByteReader {
public:
/** Set this pointer to the location where the number resides which
you want to read. */
- Q_UINT8 * command_pointer;
+ TQ_UINT8 * command_pointer;
/** This pointer marks the end of the memory area where bytes can be
read. It should point to the first byte which CANNOT be
read. The idea is to have a safety net which protects us against
SEGFAULTs. This is also used in virtual fonts, where the macro
does not have an EOP command at the end of the macro. */
- Q_UINT8 * end_pointer;
+ TQ_UINT8 * end_pointer;
/** If command_pointer >= end_pointer, this method return EOP (=140)
and exists. Otherwise, the method returns the unsigned byte
and increases the command_pointer by one. */
- Q_UINT8 readUINT8();
+ TQ_UINT8 readUINT8();
/** Similar to the method above, only that the method reads a big
endian 2-byte word and increases the pointer by two. */
- Q_UINT16 readUINT16();
+ TQ_UINT16 readUINT16();
/** Similar to the method above, only that the method reads a big
endian 4-byte word and increases the pointer by four. */
- Q_UINT32 readUINT32();
+ TQ_UINT32 readUINT32();
- void writeUINT32(Q_UINT32 a);
+ void writeUINT32(TQ_UINT32 a);
/** Similar to the method above, only that the method reads a big
endian number of length size, where 1 <= size <= 4. Note that
the value 3 is allowed (and is acually used in DVI files)!!! */
- Q_UINT32 readUINT(Q_UINT8 size);
+ TQ_UINT32 readUINT(TQ_UINT8 size);
/** Similar to the method above, only that the method reads a SIGNED
number */
- Q_INT32 readINT(Q_UINT8);
+ TQ_INT32 readINT(TQ_UINT8);
};