Replace various Q_* and QT_* defines with TQ_* and TQT_*

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 75a74bedae)
pull/478/head
Michele Calgaro 9 months ago
parent 7ff24388e9
commit 0587e5ec31
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -514,7 +514,7 @@ bool LinuxCDPolling::hasDirectory(const TQCString &devNode, const TQCString &dir
close(fd); close(fd);
return false; return false;
} }
if (Q_BYTE_ORDER != Q_LITTLE_ENDIAN) if (TQ_BYTE_ORDER != TQ_LITTLE_ENDIAN)
bs = ((bs << 8) & 0xFF00) | ((bs >> 8) & 0xFF); bs = ((bs << 8) & 0xFF00) | ((bs >> 8) & 0xFF);
// read in size of path table // read in size of path table
@ -524,7 +524,7 @@ bool LinuxCDPolling::hasDirectory(const TQCString &devNode, const TQCString &dir
close(fd); close(fd);
return false; return false;
} }
if (Q_BYTE_ORDER != Q_LITTLE_ENDIAN) if (TQ_BYTE_ORDER != TQ_LITTLE_ENDIAN)
ts = ((ts << 8) & 0xFF00) | ((ts >> 8) & 0xFF); ts = ((ts << 8) & 0xFF00) | ((ts >> 8) & 0xFF);
// read in which block path table is in // read in which block path table is in
@ -534,7 +534,7 @@ bool LinuxCDPolling::hasDirectory(const TQCString &devNode, const TQCString &dir
close(fd); close(fd);
return false; return false;
} }
if (Q_BYTE_ORDER != Q_LITTLE_ENDIAN) if (TQ_BYTE_ORDER != TQ_LITTLE_ENDIAN)
tl = ((tl << 24) & 0xFF000000) | ((tl << 8) & 0xFF0000) | tl = ((tl << 24) & 0xFF000000) | ((tl << 8) & 0xFF0000) |
((tl >> 8) & 0xFF00) | ((tl >> 24) & 0xFF); ((tl >> 8) & 0xFF00) | ((tl >> 24) & 0xFF);
@ -559,7 +559,7 @@ bool LinuxCDPolling::hasDirectory(const TQCString &devNode, const TQCString &dir
ret = false; ret = false;
break; break;
} }
if (Q_BYTE_ORDER != Q_LITTLE_ENDIAN) if (TQ_BYTE_ORDER != TQ_LITTLE_ENDIAN)
parent = ((parent << 8) & 0xFF00) | ((parent >> 8) & 0xFF); parent = ((parent << 8) & 0xFF00) | ((parent >> 8) & 0xFF);
// read the name // read the name

Loading…
Cancel
Save