summaryrefslogtreecommitdiffstats
path: root/krec/krecexport_template.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 06:00:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 06:00:15 +0000
commitb1057f437bf65300831a0ccb45b920787c6b318d (patch)
treef8a73db06ca1180d0da0ba6dfbe786197b4f4bc3 /krec/krecexport_template.cpp
parent4ddfca384ced9ad654213aef9dc2c3973720b980 (diff)
downloadtdemultimedia-b1057f437bf65300831a0ccb45b920787c6b318d.tar.gz
tdemultimedia-b1057f437bf65300831a0ccb45b920787c6b318d.zip
TQt4 port kdemultimedia
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1236079 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'krec/krecexport_template.cpp')
-rw-r--r--krec/krecexport_template.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/krec/krecexport_template.cpp b/krec/krecexport_template.cpp
index 3569268d..cfd5388c 100644
--- a/krec/krecexport_template.cpp
+++ b/krec/krecexport_template.cpp
@@ -70,17 +70,17 @@ kdDebug( 60005 ) << k_funcinfo << endl;
emit running( running() );
}
-Q_INT16 KRecExportItem::read16( char* array, int index ) {
- Q_INT16 tmp;
+TQ_INT16 KRecExportItem::read16( char* array, int index ) {
+ TQ_INT16 tmp;
tmp = array[ index ] + ( array[ index + 1 ] << 8 ) & 0xff;
return tmp;
}
/// Helper: writes an integer into an char* formated for wave-files
-void KRecExportItem::write16( char* array, Q_INT16 value, int index ) {
+void KRecExportItem::write16( char* array, TQ_INT16 value, int index ) {
array[ index ] = ( value >> 0 ) & 0xff;
array[ index + 1 ] = ( value >> 8 ) & 0xff;
}
-void KRecExportItem::write32( char* array, Q_INT32 value, int index ) {
+void KRecExportItem::write32( char* array, TQ_INT32 value, int index ) {
write16( array, value, index );
array[ index + 2 ] = ( value >> 16 ) & 0xff;
array[ index + 3 ] = ( value >> 24 ) & 0xff;