From b1057f437bf65300831a0ccb45b920787c6b318d Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 11 Jun 2011 06:00:15 +0000 Subject: 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 --- krec/krecexport_template.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'krec/krecexport_template.cpp') 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; -- cgit v1.2.1