From d8cc8bdfa7fa624a526d5aa1626974e1444cb799 Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 27 May 2011 19:21:21 +0000 Subject: 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 --- plugins/decoder/skeleton.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'plugins/decoder/skeleton.cpp') diff --git a/plugins/decoder/skeleton.cpp b/plugins/decoder/skeleton.cpp index 940814b..7b627b1 100644 --- a/plugins/decoder/skeleton.cpp +++ b/plugins/decoder/skeleton.cpp @@ -23,8 +23,8 @@ K_EXPORT_COMPONENT_FACTORY( libk3bdecoder, K3bPluginFactoryDecoderFactory>( "libk3bdecoder" ) ) -K3bDecoderFactory::K3bDecoderFactory( QObject* parent, const char* name ) - : K3bAudioDecoderFactory( parent, name ) +K3bDecoderFactory::K3bDecoderFactory( TQObject* tqparent, const char* name ) + : K3bAudioDecoderFactory( tqparent, name ) { } @@ -34,10 +34,10 @@ K3bDecoderFactory::~K3bDecoderFactory() } -K3bAudioDecoder* K3bDecoderFactory::createDecoder( QObject* parent, +K3bAudioDecoder* K3bDecoderFactory::createDecoder( TQObject* tqparent, const char* name ) const { - return new K3bDecoder( parent, name ); + return new K3bDecoder( tqparent, name ); } @@ -52,8 +52,8 @@ bool K3bDecoderFactory::canDecode( const KURL& url ) -K3bDecoder::K3bDecoder( QObject* parent, const char* name ) - : K3bAudioDecoder( parent, name ) +K3bDecoder::K3bDecoder( TQObject* tqparent, const char* name ) + : K3bAudioDecoder( tqparent, name ) { } @@ -63,7 +63,7 @@ K3bDecoder::~K3bDecoder() } -QString K3bDecoder::fileType() const +TQString K3bDecoder::fileType() const { // PUT YOUR CODE HERE } -- cgit v1.2.1