summaryrefslogtreecommitdiffstats
path: root/plugins/decoder/musepack/k3bmpcwrapper.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-27 19:21:21 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-27 19:21:21 +0000
commitd8cc8bdfa7fa624a526d5aa1626974e1444cb799 (patch)
treef295f1c545b319963d5357af79fe08991d8141d9 /plugins/decoder/musepack/k3bmpcwrapper.cpp
parent2a39a080579fb52a2599c02b2939795385b89093 (diff)
downloadk3b-d8cc8bdfa7fa624a526d5aa1626974e1444cb799.tar.gz
k3b-d8cc8bdfa7fa624a526d5aa1626974e1444cb799.zip
TQt4 port k3b
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1233803 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'plugins/decoder/musepack/k3bmpcwrapper.cpp')
-rw-r--r--plugins/decoder/musepack/k3bmpcwrapper.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/decoder/musepack/k3bmpcwrapper.cpp b/plugins/decoder/musepack/k3bmpcwrapper.cpp
index 9f54b28..75153b5 100644
--- a/plugins/decoder/musepack/k3bmpcwrapper.cpp
+++ b/plugins/decoder/musepack/k3bmpcwrapper.cpp
@@ -16,31 +16,31 @@
#include "k3bmpcwrapper.h"
#include <kdebug.h>
-#include <qfile.h>
+#include <tqfile.h>
mpc_int32_t read_impl( void* data, void* ptr, mpc_int32_t size )
{
- QFile* input = static_cast<QFile*>( data );
+ TQFile* input = static_cast<TQFile*>( data );
return input->readBlock( (char*)ptr, size );
}
mpc_bool_t seek_impl( void* data, mpc_int32_t offset )
{
- QFile* input = static_cast<QFile*>( data );
+ TQFile* input = static_cast<TQFile*>( data );
return input->at( offset );
}
mpc_int32_t tell_impl( void* data )
{
- QFile* input = static_cast<QFile*>( data );
+ TQFile* input = static_cast<TQFile*>( data );
return input->at();
}
mpc_int32_t get_size_impl( void* data )
{
- QFile* input = static_cast<QFile*>( data );
+ TQFile* input = static_cast<TQFile*>( data );
return input->size();
}
@@ -64,7 +64,7 @@ static int shift_signed( MPC_SAMPLE_FORMAT val, int shift )
K3bMpcWrapper::K3bMpcWrapper()
{
- m_input = new QFile();
+ m_input = new TQFile();
m_reader = new mpc_reader;
m_reader->read = read_impl;
@@ -91,7 +91,7 @@ K3bMpcWrapper::~K3bMpcWrapper()
}
-bool K3bMpcWrapper::open( const QString& filename )
+bool K3bMpcWrapper::open( const TQString& filename )
{
close();