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/mp3/k3bmaddecoder.h | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'plugins/decoder/mp3/k3bmaddecoder.h') diff --git a/plugins/decoder/mp3/k3bmaddecoder.h b/plugins/decoder/mp3/k3bmaddecoder.h index 91e0f6c..8eef755 100644 --- a/plugins/decoder/mp3/k3bmaddecoder.h +++ b/plugins/decoder/mp3/k3bmaddecoder.h @@ -27,16 +27,17 @@ extern "C" { class K3bMadDecoderFactory : public K3bAudioDecoderFactory { Q_OBJECT + TQ_OBJECT public: - K3bMadDecoderFactory( QObject* parent = 0, const char* name = 0 ); + K3bMadDecoderFactory( TQObject* tqparent = 0, const char* name = 0 ); ~K3bMadDecoderFactory(); bool canDecode( const KURL& filename ); int pluginSystemVersion() const { return 3; } - K3bAudioDecoder* createDecoder( QObject* parent = 0, + K3bAudioDecoder* createDecoder( TQObject* tqparent = 0, const char* name = 0 ) const; }; @@ -44,20 +45,21 @@ class K3bMadDecoderFactory : public K3bAudioDecoderFactory class K3bMadDecoder : public K3bAudioDecoder { Q_OBJECT + TQ_OBJECT public: - K3bMadDecoder( QObject* parent = 0, const char* name = 0 ); + K3bMadDecoder( TQObject* tqparent = 0, const char* name = 0 ); ~K3bMadDecoder(); - QString metaInfo( MetaDataField ); + TQString metaInfo( MetaDataField ); void cleanup(); bool seekInternal( const K3b::Msf& ); - QString fileType() const; - QStringList supportedTechnicalInfos() const; - QString technicalInfo( const QString& ) const; + TQString fileType() const; + TQStringList supportedTechnicalInfos() const; + TQString technicalInfo( const TQString& ) const; protected: bool analyseFileInternal( K3b::Msf& frames, int& samplerate, int& ch ); -- cgit v1.2.1