summaryrefslogtreecommitdiffstats
path: root/krec/krecexport_template.cpp
diff options
context:
space:
mode:
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;