From df8e67b86696f691708af8592d86282b09bab011 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- plugins/audiooutput/alsa/k3balsaoutputplugin.cpp | 12 ++++++------ plugins/audiooutput/alsa/k3balsaoutputplugin.h | 6 +++--- plugins/audiooutput/arts/k3bartsoutputplugin.cpp | 4 ++-- plugins/audiooutput/arts/k3bartsoutputplugin.h | 2 +- plugins/decoder/ffmpeg/k3bffmpegdecoder.cpp | 12 ++++++------ plugins/decoder/ffmpeg/k3bffmpegdecoder.h | 6 +++--- plugins/decoder/flac/k3bflacdecoder.cpp | 12 ++++++------ plugins/decoder/flac/k3bflacdecoder.h | 6 +++--- plugins/decoder/libsndfile/k3blibsndfiledecoder.cpp | 12 ++++++------ plugins/decoder/libsndfile/k3blibsndfiledecoder.h | 6 +++--- plugins/decoder/mp3/k3bmaddecoder.cpp | 12 ++++++------ plugins/decoder/mp3/k3bmaddecoder.h | 6 +++--- plugins/decoder/musepack/k3bmpcdecoder.cpp | 12 ++++++------ plugins/decoder/musepack/k3bmpcdecoder.h | 6 +++--- plugins/decoder/ogg/k3boggvorbisdecoder.cpp | 12 ++++++------ plugins/decoder/ogg/k3boggvorbisdecoder.h | 6 +++--- plugins/decoder/skeleton.cpp | 12 ++++++------ plugins/decoder/skeleton.h | 6 +++--- plugins/decoder/wave/k3bwavedecoder.cpp | 12 ++++++------ plugins/decoder/wave/k3bwavedecoder.h | 6 +++--- plugins/encoder/external/k3bexternalencoder.cpp | 8 ++++---- plugins/encoder/external/k3bexternalencoder.h | 4 ++-- .../encoder/external/k3bexternalencoderconfigwidget.cpp | 8 ++++---- .../encoder/external/k3bexternalencoderconfigwidget.h | 4 ++-- plugins/encoder/lame/k3blameencoder.cpp | 12 ++++++------ plugins/encoder/lame/k3blameencoder.h | 6 +++--- plugins/encoder/ogg/k3boggvorbisencoder.cpp | 12 ++++++------ plugins/encoder/ogg/k3boggvorbisencoder.h | 6 +++--- plugins/encoder/skeleton.cpp | 12 ++++++------ plugins/encoder/skeleton.h | 6 +++--- plugins/encoder/sox/k3bsoxencoder.cpp | 12 ++++++------ plugins/encoder/sox/k3bsoxencoder.h | 6 +++--- .../k3baudiometainforenamerplugin.cpp | 16 ++++++++-------- .../audiometainforenamer/k3baudiometainforenamerplugin.h | 6 +++--- .../audioprojectcddb/k3baudioprojectcddbplugin.cpp | 14 +++++++------- .../project/audioprojectcddb/k3baudioprojectcddbplugin.h | 4 ++-- 36 files changed, 152 insertions(+), 152 deletions(-) (limited to 'plugins') diff --git a/plugins/audiooutput/alsa/k3balsaoutputplugin.cpp b/plugins/audiooutput/alsa/k3balsaoutputplugin.cpp index 437f188..3e97cda 100644 --- a/plugins/audiooutput/alsa/k3balsaoutputplugin.cpp +++ b/plugins/audiooutput/alsa/k3balsaoutputplugin.cpp @@ -54,8 +54,8 @@ public: }; -K3bAlsaOutputPlugin::K3bAlsaOutputPlugin( TQObject* tqparent, const char* name ) - : K3bAudioOutputPlugin( tqparent, name ) +K3bAlsaOutputPlugin::K3bAlsaOutputPlugin( TQObject* parent, const char* name ) + : K3bAudioOutputPlugin( parent, name ) { d = new Private; } @@ -242,16 +242,16 @@ TQString K3bAlsaOutputPlugin::lastErrorMessage() const } -K3bPluginConfigWidget* K3bAlsaOutputPlugin::createConfigWidget( TQWidget* tqparent, +K3bPluginConfigWidget* K3bAlsaOutputPlugin::createConfigWidget( TQWidget* parent, const char* name ) const { - return new K3bAlsaOutputPluginConfigWidget( tqparent, name ); + return new K3bAlsaOutputPluginConfigWidget( parent, name ); } -K3bAlsaOutputPluginConfigWidget::K3bAlsaOutputPluginConfigWidget( TQWidget* tqparent, const char* name ) - : K3bPluginConfigWidget( tqparent, name ) +K3bAlsaOutputPluginConfigWidget::K3bAlsaOutputPluginConfigWidget( TQWidget* parent, const char* name ) + : K3bPluginConfigWidget( parent, name ) { TQHBoxLayout* l = new TQHBoxLayout( this ); l->setSpacing( KDialog::spacingHint() ); diff --git a/plugins/audiooutput/alsa/k3balsaoutputplugin.h b/plugins/audiooutput/alsa/k3balsaoutputplugin.h index b0fce65..73d9cc9 100644 --- a/plugins/audiooutput/alsa/k3balsaoutputplugin.h +++ b/plugins/audiooutput/alsa/k3balsaoutputplugin.h @@ -25,7 +25,7 @@ class KComboBox; class K3bAlsaOutputPlugin : public K3bAudioOutputPlugin { public: - K3bAlsaOutputPlugin( TQObject* tqparent = 0, const char* name = 0 ); + K3bAlsaOutputPlugin( TQObject* parent = 0, const char* name = 0 ); ~K3bAlsaOutputPlugin(); int pluginSystemVersion() const { return 3; } @@ -38,7 +38,7 @@ class K3bAlsaOutputPlugin : public K3bAudioOutputPlugin int write( char* data, int len ); - K3bPluginConfigWidget* createConfigWidget( TQWidget* tqparent = 0, + K3bPluginConfigWidget* createConfigWidget( TQWidget* parent = 0, const char* name = 0 ) const; private: @@ -56,7 +56,7 @@ class K3bAlsaOutputPluginConfigWidget : public K3bPluginConfigWidget TQ_OBJECT public: - K3bAlsaOutputPluginConfigWidget( TQWidget* tqparent = 0, const char* name = 0 ); + K3bAlsaOutputPluginConfigWidget( TQWidget* parent = 0, const char* name = 0 ); ~K3bAlsaOutputPluginConfigWidget(); public slots: diff --git a/plugins/audiooutput/arts/k3bartsoutputplugin.cpp b/plugins/audiooutput/arts/k3bartsoutputplugin.cpp index e3ce210..6919bf8 100644 --- a/plugins/audiooutput/arts/k3bartsoutputplugin.cpp +++ b/plugins/audiooutput/arts/k3bartsoutputplugin.cpp @@ -24,8 +24,8 @@ K_EXPORT_COMPONENT_FACTORY( libk3bartsoutputplugin, K3bPluginFactory( "k3bartsoutputplugin" ) ) -K3bArtsOutputPlugin::K3bArtsOutputPlugin( TQObject* tqparent, const char* name ) - : K3bAudioOutputPlugin( tqparent, name ), +K3bArtsOutputPlugin::K3bArtsOutputPlugin( TQObject* parent, const char* name ) + : K3bAudioOutputPlugin( parent, name ), m_initialized(false), m_lastErrorCode(0) { diff --git a/plugins/audiooutput/arts/k3bartsoutputplugin.h b/plugins/audiooutput/arts/k3bartsoutputplugin.h index 8778187..e1b5499 100644 --- a/plugins/audiooutput/arts/k3bartsoutputplugin.h +++ b/plugins/audiooutput/arts/k3bartsoutputplugin.h @@ -24,7 +24,7 @@ class K3bArtsOutputPlugin : public K3bAudioOutputPlugin { public: - K3bArtsOutputPlugin( TQObject* tqparent = 0, const char* name = 0 ); + K3bArtsOutputPlugin( TQObject* parent = 0, const char* name = 0 ); ~K3bArtsOutputPlugin(); int pluginSystemVersion() const { return 3; } diff --git a/plugins/decoder/ffmpeg/k3bffmpegdecoder.cpp b/plugins/decoder/ffmpeg/k3bffmpegdecoder.cpp index d4ab6a9..f2afd02 100644 --- a/plugins/decoder/ffmpeg/k3bffmpegdecoder.cpp +++ b/plugins/decoder/ffmpeg/k3bffmpegdecoder.cpp @@ -31,8 +31,8 @@ extern "C" { K_EXPORT_COMPONENT_FACTORY( libk3bffmpegdecoder, K3bPluginFactory( "k3bffmpegdecoder" ) ) -K3bFFMpegDecoderFactory::K3bFFMpegDecoderFactory( TQObject* tqparent, const char* name ) - : K3bAudioDecoderFactory( tqparent, name ) +K3bFFMpegDecoderFactory::K3bFFMpegDecoderFactory( TQObject* parent, const char* name ) + : K3bAudioDecoderFactory( parent, name ) { } @@ -42,10 +42,10 @@ K3bFFMpegDecoderFactory::~K3bFFMpegDecoderFactory() } -K3bAudioDecoder* K3bFFMpegDecoderFactory::createDecoder( TQObject* tqparent, +K3bAudioDecoder* K3bFFMpegDecoderFactory::createDecoder( TQObject* parent, const char* name ) const { - return new K3bFFMpegDecoder( tqparent, name ); + return new K3bFFMpegDecoder( parent, name ); } @@ -66,8 +66,8 @@ bool K3bFFMpegDecoderFactory::canDecode( const KURL& url ) -K3bFFMpegDecoder::K3bFFMpegDecoder( TQObject* tqparent, const char* name ) - : K3bAudioDecoder( tqparent, name ), +K3bFFMpegDecoder::K3bFFMpegDecoder( TQObject* parent, const char* name ) + : K3bAudioDecoder( parent, name ), m_file(0) { } diff --git a/plugins/decoder/ffmpeg/k3bffmpegdecoder.h b/plugins/decoder/ffmpeg/k3bffmpegdecoder.h index 59d7ef0..fab5093 100644 --- a/plugins/decoder/ffmpeg/k3bffmpegdecoder.h +++ b/plugins/decoder/ffmpeg/k3bffmpegdecoder.h @@ -27,7 +27,7 @@ class K3bFFMpegDecoderFactory : public K3bAudioDecoderFactory TQ_OBJECT public: - K3bFFMpegDecoderFactory( TQObject* tqparent = 0, const char* name = 0 ); + K3bFFMpegDecoderFactory( TQObject* parent = 0, const char* name = 0 ); ~K3bFFMpegDecoderFactory(); bool canDecode( const KURL& filename ); @@ -36,7 +36,7 @@ class K3bFFMpegDecoderFactory : public K3bAudioDecoderFactory bool multiFormatDecoder() const { return true; } - K3bAudioDecoder* createDecoder( TQObject* tqparent = 0, + K3bAudioDecoder* createDecoder( TQObject* parent = 0, const char* name = 0 ) const; }; @@ -47,7 +47,7 @@ class K3bFFMpegDecoder : public K3bAudioDecoder TQ_OBJECT public: - K3bFFMpegDecoder( TQObject* tqparent = 0, const char* name = 0 ); + K3bFFMpegDecoder( TQObject* parent = 0, const char* name = 0 ); ~K3bFFMpegDecoder(); TQString fileType() const; diff --git a/plugins/decoder/flac/k3bflacdecoder.cpp b/plugins/decoder/flac/k3bflacdecoder.cpp index 495e3d9..40a61c9 100644 --- a/plugins/decoder/flac/k3bflacdecoder.cpp +++ b/plugins/decoder/flac/k3bflacdecoder.cpp @@ -240,8 +240,8 @@ FLAC__StreamDecoderWriteStatus K3bFLACDecoder::Private::write_callback(const FLA return FLAC__STREAM_DECODER_WRITE_STATUS_CONTINUE; } -K3bFLACDecoder::K3bFLACDecoder( TQObject* tqparent, const char* name ) - : K3bAudioDecoder( tqparent, name ) +K3bFLACDecoder::K3bFLACDecoder( TQObject* parent, const char* name ) + : K3bAudioDecoder( parent, name ) { d = 0; } @@ -404,8 +404,8 @@ TQString K3bFLACDecoder::technicalInfo( const TQString& info ) const -K3bFLACDecoderFactory::K3bFLACDecoderFactory( TQObject* tqparent, const char* name ) - : K3bAudioDecoderFactory( tqparent, name ) +K3bFLACDecoderFactory::K3bFLACDecoderFactory( TQObject* parent, const char* name ) + : K3bAudioDecoderFactory( parent, name ) { } @@ -415,10 +415,10 @@ K3bFLACDecoderFactory::~K3bFLACDecoderFactory() } -K3bAudioDecoder* K3bFLACDecoderFactory::createDecoder( TQObject* tqparent, +K3bAudioDecoder* K3bFLACDecoderFactory::createDecoder( TQObject* parent, const char* name ) const { - return new K3bFLACDecoder( tqparent, name ); + return new K3bFLACDecoder( parent, name ); } diff --git a/plugins/decoder/flac/k3bflacdecoder.h b/plugins/decoder/flac/k3bflacdecoder.h index 2e3bccf..fae7082 100644 --- a/plugins/decoder/flac/k3bflacdecoder.h +++ b/plugins/decoder/flac/k3bflacdecoder.h @@ -27,14 +27,14 @@ class K3bFLACDecoderFactory : public K3bAudioDecoderFactory TQ_OBJECT public: - K3bFLACDecoderFactory( TQObject* tqparent = 0, const char* name = 0 ); + K3bFLACDecoderFactory( TQObject* parent = 0, const char* name = 0 ); ~K3bFLACDecoderFactory(); bool canDecode( const KURL& filename ); int pluginSystemVersion() const { return 3; } - K3bAudioDecoder* createDecoder( TQObject* tqparent = 0, + K3bAudioDecoder* createDecoder( TQObject* parent = 0, const char* name = 0 ) const; }; @@ -45,7 +45,7 @@ class K3bFLACDecoder : public K3bAudioDecoder TQ_OBJECT public: - K3bFLACDecoder( TQObject* tqparent = 0, const char* name = 0 ); + K3bFLACDecoder( TQObject* parent = 0, const char* name = 0 ); ~K3bFLACDecoder(); void cleanup(); diff --git a/plugins/decoder/libsndfile/k3blibsndfiledecoder.cpp b/plugins/decoder/libsndfile/k3blibsndfiledecoder.cpp index 0f23d4e..8532da9 100644 --- a/plugins/decoder/libsndfile/k3blibsndfiledecoder.cpp +++ b/plugins/decoder/libsndfile/k3blibsndfiledecoder.cpp @@ -57,8 +57,8 @@ public: -K3bLibsndfileDecoder::K3bLibsndfileDecoder( TQObject* tqparent, const char* name ) - : K3bAudioDecoder( tqparent, name ) +K3bLibsndfileDecoder::K3bLibsndfileDecoder( TQObject* parent, const char* name ) + : K3bAudioDecoder( parent, name ) { d = new Private(); } @@ -202,8 +202,8 @@ void K3bLibsndfileDecoder::cleanup() /********************************************************/ -K3bLibsndfileDecoderFactory::K3bLibsndfileDecoderFactory( TQObject* tqparent, const char* name ) - : K3bAudioDecoderFactory( tqparent, name ) +K3bLibsndfileDecoderFactory::K3bLibsndfileDecoderFactory( TQObject* parent, const char* name ) + : K3bAudioDecoderFactory( parent, name ) { } @@ -213,10 +213,10 @@ K3bLibsndfileDecoderFactory::~K3bLibsndfileDecoderFactory() } -K3bAudioDecoder* K3bLibsndfileDecoderFactory::createDecoder( TQObject* tqparent, +K3bAudioDecoder* K3bLibsndfileDecoderFactory::createDecoder( TQObject* parent, const char* name ) const { - return new K3bLibsndfileDecoder( tqparent, name ); + return new K3bLibsndfileDecoder( parent, name ); } diff --git a/plugins/decoder/libsndfile/k3blibsndfiledecoder.h b/plugins/decoder/libsndfile/k3blibsndfiledecoder.h index 005cb0b..cd23eb1 100644 --- a/plugins/decoder/libsndfile/k3blibsndfiledecoder.h +++ b/plugins/decoder/libsndfile/k3blibsndfiledecoder.h @@ -28,7 +28,7 @@ class K3bLibsndfileDecoderFactory : public K3bAudioDecoderFactory TQ_OBJECT public: - K3bLibsndfileDecoderFactory( TQObject* tqparent = 0, const char* name = 0 ); + K3bLibsndfileDecoderFactory( TQObject* parent = 0, const char* name = 0 ); ~K3bLibsndfileDecoderFactory(); bool canDecode( const KURL& filename ); @@ -37,7 +37,7 @@ class K3bLibsndfileDecoderFactory : public K3bAudioDecoderFactory bool multiFormatDecoder() const { return true; } - K3bAudioDecoder* createDecoder( TQObject* tqparent = 0, + K3bAudioDecoder* createDecoder( TQObject* parent = 0, const char* name = 0 ) const; }; @@ -48,7 +48,7 @@ class K3bLibsndfileDecoder : public K3bAudioDecoder TQ_OBJECT public: - K3bLibsndfileDecoder( TQObject* tqparent = 0, const char* name = 0 ); + K3bLibsndfileDecoder( TQObject* parent = 0, const char* name = 0 ); ~K3bLibsndfileDecoder(); void cleanup(); TQString fileType() const; diff --git a/plugins/decoder/mp3/k3bmaddecoder.cpp b/plugins/decoder/mp3/k3bmaddecoder.cpp index f23bfce..9fe9b15 100644 --- a/plugins/decoder/mp3/k3bmaddecoder.cpp +++ b/plugins/decoder/mp3/k3bmaddecoder.cpp @@ -86,8 +86,8 @@ public: -K3bMadDecoder::K3bMadDecoder( TQObject* tqparent, const char* name ) - : K3bAudioDecoder( tqparent, name ) +K3bMadDecoder::K3bMadDecoder( TQObject* parent, const char* name ) + : K3bAudioDecoder( parent, name ) { d = new MadDecoderPrivate(); d->handle = new K3bMad(); @@ -457,8 +457,8 @@ TQString K3bMadDecoder::technicalInfo( const TQString& name ) const } -K3bMadDecoderFactory::K3bMadDecoderFactory( TQObject* tqparent, const char* name ) - : K3bAudioDecoderFactory( tqparent, name ) +K3bMadDecoderFactory::K3bMadDecoderFactory( TQObject* parent, const char* name ) + : K3bAudioDecoderFactory( parent, name ) { } @@ -468,10 +468,10 @@ K3bMadDecoderFactory::~K3bMadDecoderFactory() } -K3bAudioDecoder* K3bMadDecoderFactory::createDecoder( TQObject* tqparent, +K3bAudioDecoder* K3bMadDecoderFactory::createDecoder( TQObject* parent, const char* name ) const { - return new K3bMadDecoder( tqparent, name ); + return new K3bMadDecoder( parent, name ); } diff --git a/plugins/decoder/mp3/k3bmaddecoder.h b/plugins/decoder/mp3/k3bmaddecoder.h index 8eef755..57e2d76 100644 --- a/plugins/decoder/mp3/k3bmaddecoder.h +++ b/plugins/decoder/mp3/k3bmaddecoder.h @@ -30,14 +30,14 @@ class K3bMadDecoderFactory : public K3bAudioDecoderFactory TQ_OBJECT public: - K3bMadDecoderFactory( TQObject* tqparent = 0, const char* name = 0 ); + K3bMadDecoderFactory( TQObject* parent = 0, const char* name = 0 ); ~K3bMadDecoderFactory(); bool canDecode( const KURL& filename ); int pluginSystemVersion() const { return 3; } - K3bAudioDecoder* createDecoder( TQObject* tqparent = 0, + K3bAudioDecoder* createDecoder( TQObject* parent = 0, const char* name = 0 ) const; }; @@ -48,7 +48,7 @@ class K3bMadDecoder : public K3bAudioDecoder TQ_OBJECT public: - K3bMadDecoder( TQObject* tqparent = 0, const char* name = 0 ); + K3bMadDecoder( TQObject* parent = 0, const char* name = 0 ); ~K3bMadDecoder(); TQString metaInfo( MetaDataField ); diff --git a/plugins/decoder/musepack/k3bmpcdecoder.cpp b/plugins/decoder/musepack/k3bmpcdecoder.cpp index 6975bee..84dd9d7 100644 --- a/plugins/decoder/musepack/k3bmpcdecoder.cpp +++ b/plugins/decoder/musepack/k3bmpcdecoder.cpp @@ -26,8 +26,8 @@ K_EXPORT_COMPONENT_FACTORY( libk3bmpcdecoder, K3bPluginFactory( "libk3bmpcdecoder" ) ) -K3bMpcDecoderFactory::K3bMpcDecoderFactory( TQObject* tqparent, const char* name ) - : K3bAudioDecoderFactory( tqparent, name ) +K3bMpcDecoderFactory::K3bMpcDecoderFactory( TQObject* parent, const char* name ) + : K3bAudioDecoderFactory( parent, name ) { } @@ -37,10 +37,10 @@ K3bMpcDecoderFactory::~K3bMpcDecoderFactory() } -K3bAudioDecoder* K3bMpcDecoderFactory::createDecoder( TQObject* tqparent, +K3bAudioDecoder* K3bMpcDecoderFactory::createDecoder( TQObject* parent, const char* name ) const { - return new K3bMpcDecoder( tqparent, name ); + return new K3bMpcDecoder( parent, name ); } @@ -55,8 +55,8 @@ bool K3bMpcDecoderFactory::canDecode( const KURL& url ) -K3bMpcDecoder::K3bMpcDecoder( TQObject* tqparent, const char* name ) - : K3bAudioDecoder( tqparent, name ) +K3bMpcDecoder::K3bMpcDecoder( TQObject* parent, const char* name ) + : K3bAudioDecoder( parent, name ) { m_mpc = new K3bMpcWrapper(); } diff --git a/plugins/decoder/musepack/k3bmpcdecoder.h b/plugins/decoder/musepack/k3bmpcdecoder.h index d0f6935..1be280b 100644 --- a/plugins/decoder/musepack/k3bmpcdecoder.h +++ b/plugins/decoder/musepack/k3bmpcdecoder.h @@ -27,14 +27,14 @@ class K3bMpcDecoderFactory : public K3bAudioDecoderFactory TQ_OBJECT public: - K3bMpcDecoderFactory( TQObject* tqparent = 0, const char* name = 0 ); + K3bMpcDecoderFactory( TQObject* parent = 0, const char* name = 0 ); ~K3bMpcDecoderFactory(); bool canDecode( const KURL& filename ); int pluginSystemVersion() const { return 3; } - K3bAudioDecoder* createDecoder( TQObject* tqparent = 0, + K3bAudioDecoder* createDecoder( TQObject* parent = 0, const char* name = 0 ) const; }; @@ -45,7 +45,7 @@ class K3bMpcDecoder : public K3bAudioDecoder TQ_OBJECT public: - K3bMpcDecoder( TQObject* tqparent = 0, const char* name = 0 ); + K3bMpcDecoder( TQObject* parent = 0, const char* name = 0 ); ~K3bMpcDecoder(); TQString fileType() const; diff --git a/plugins/decoder/ogg/k3boggvorbisdecoder.cpp b/plugins/decoder/ogg/k3boggvorbisdecoder.cpp index 29b3805..b48a85d 100644 --- a/plugins/decoder/ogg/k3boggvorbisdecoder.cpp +++ b/plugins/decoder/ogg/k3boggvorbisdecoder.cpp @@ -51,8 +51,8 @@ public: }; -K3bOggVorbisDecoder::K3bOggVorbisDecoder( TQObject* tqparent, const char* name ) - : K3bAudioDecoder( tqparent, name ) +K3bOggVorbisDecoder::K3bOggVorbisDecoder( TQObject* parent, const char* name ) + : K3bAudioDecoder( parent, name ) { d = new Private(); } @@ -209,8 +209,8 @@ TQString K3bOggVorbisDecoder::fileType() const } -K3bOggVorbisDecoderFactory::K3bOggVorbisDecoderFactory( TQObject* tqparent, const char* name ) - : K3bAudioDecoderFactory( tqparent, name ) +K3bOggVorbisDecoderFactory::K3bOggVorbisDecoderFactory( TQObject* parent, const char* name ) + : K3bAudioDecoderFactory( parent, name ) { } @@ -220,10 +220,10 @@ K3bOggVorbisDecoderFactory::~K3bOggVorbisDecoderFactory() } -K3bAudioDecoder* K3bOggVorbisDecoderFactory::createDecoder( TQObject* tqparent, +K3bAudioDecoder* K3bOggVorbisDecoderFactory::createDecoder( TQObject* parent, const char* name ) const { - return new K3bOggVorbisDecoder( tqparent, name ); + return new K3bOggVorbisDecoder( parent, name ); } diff --git a/plugins/decoder/ogg/k3boggvorbisdecoder.h b/plugins/decoder/ogg/k3boggvorbisdecoder.h index 47c1709..9fdc715 100644 --- a/plugins/decoder/ogg/k3boggvorbisdecoder.h +++ b/plugins/decoder/ogg/k3boggvorbisdecoder.h @@ -29,14 +29,14 @@ class K3bOggVorbisDecoderFactory : public K3bAudioDecoderFactory TQ_OBJECT public: - K3bOggVorbisDecoderFactory( TQObject* tqparent = 0, const char* name = 0 ); + K3bOggVorbisDecoderFactory( TQObject* parent = 0, const char* name = 0 ); ~K3bOggVorbisDecoderFactory(); bool canDecode( const KURL& filename ); int pluginSystemVersion() const { return 3; } - K3bAudioDecoder* createDecoder( TQObject* tqparent = 0, + K3bAudioDecoder* createDecoder( TQObject* parent = 0, const char* name = 0 ) const; }; @@ -50,7 +50,7 @@ class K3bOggVorbisDecoder : public K3bAudioDecoder TQ_OBJECT public: - K3bOggVorbisDecoder( TQObject* tqparent = 0, const char* name = 0 ); + K3bOggVorbisDecoder( TQObject* parent = 0, const char* name = 0 ); ~K3bOggVorbisDecoder(); void cleanup(); diff --git a/plugins/decoder/skeleton.cpp b/plugins/decoder/skeleton.cpp index 7b627b1..0e31ded 100644 --- a/plugins/decoder/skeleton.cpp +++ b/plugins/decoder/skeleton.cpp @@ -23,8 +23,8 @@ K_EXPORT_COMPONENT_FACTORY( libk3bdecoder, K3bPluginFactoryDecoderFactory>( "libk3bdecoder" ) ) -K3bDecoderFactory::K3bDecoderFactory( TQObject* tqparent, const char* name ) - : K3bAudioDecoderFactory( tqparent, name ) +K3bDecoderFactory::K3bDecoderFactory( TQObject* parent, const char* name ) + : K3bAudioDecoderFactory( parent, name ) { } @@ -34,10 +34,10 @@ K3bDecoderFactory::~K3bDecoderFactory() } -K3bAudioDecoder* K3bDecoderFactory::createDecoder( TQObject* tqparent, +K3bAudioDecoder* K3bDecoderFactory::createDecoder( TQObject* parent, const char* name ) const { - return new K3bDecoder( tqparent, name ); + return new K3bDecoder( parent, name ); } @@ -52,8 +52,8 @@ bool K3bDecoderFactory::canDecode( const KURL& url ) -K3bDecoder::K3bDecoder( TQObject* tqparent, const char* name ) - : K3bAudioDecoder( tqparent, name ) +K3bDecoder::K3bDecoder( TQObject* parent, const char* name ) + : K3bAudioDecoder( parent, name ) { } diff --git a/plugins/decoder/skeleton.h b/plugins/decoder/skeleton.h index 7b22113..1c7cff1 100644 --- a/plugins/decoder/skeleton.h +++ b/plugins/decoder/skeleton.h @@ -25,14 +25,14 @@ class K3bDecoderFactory : public K3bAudioDecoderFactory TQ_OBJECT public: - K3bDecoderFactory( TQObject* tqparent = 0, const char* name = 0 ); + K3bDecoderFactory( TQObject* parent = 0, const char* name = 0 ); ~K3bDecoderFactory(); bool canDecode( const KURL& filename ); int pluginSystemVersion() const { return 3; } - K3bAudioDecoder* createDecoder( TQObject* tqparent = 0, + K3bAudioDecoder* createDecoder( TQObject* parent = 0, const char* name = 0 ) const; }; @@ -43,7 +43,7 @@ class K3bDecoder : public K3bAudioDecoder TQ_OBJECT public: - K3bDecoder( TQObject* tqparent = 0, const char* name = 0 ); + K3bDecoder( TQObject* parent = 0, const char* name = 0 ); ~K3bDecoder(); TQString fileType() const; diff --git a/plugins/decoder/wave/k3bwavedecoder.cpp b/plugins/decoder/wave/k3bwavedecoder.cpp index 21f385e..1c0fd57 100644 --- a/plugins/decoder/wave/k3bwavedecoder.cpp +++ b/plugins/decoder/wave/k3bwavedecoder.cpp @@ -197,8 +197,8 @@ public: }; -K3bWaveDecoder::K3bWaveDecoder( TQObject* tqparent, const char* name ) - : K3bAudioDecoder( tqparent, name ) +K3bWaveDecoder::K3bWaveDecoder( TQObject* parent, const char* name ) + : K3bAudioDecoder( parent, name ) { d = new Private(); d->file = new TQFile(); @@ -358,8 +358,8 @@ TQString K3bWaveDecoder::technicalInfo( const TQString& name ) const } -K3bWaveDecoderFactory::K3bWaveDecoderFactory( TQObject* tqparent, const char* name ) - : K3bAudioDecoderFactory( tqparent, name ) +K3bWaveDecoderFactory::K3bWaveDecoderFactory( TQObject* parent, const char* name ) + : K3bAudioDecoderFactory( parent, name ) { } @@ -369,10 +369,10 @@ K3bWaveDecoderFactory::~K3bWaveDecoderFactory() } -K3bAudioDecoder* K3bWaveDecoderFactory::createDecoder( TQObject* tqparent, +K3bAudioDecoder* K3bWaveDecoderFactory::createDecoder( TQObject* parent, const char* name ) const { - return new K3bWaveDecoder( tqparent, name ); + return new K3bWaveDecoder( parent, name ); } diff --git a/plugins/decoder/wave/k3bwavedecoder.h b/plugins/decoder/wave/k3bwavedecoder.h index ddef738..0fbc681 100644 --- a/plugins/decoder/wave/k3bwavedecoder.h +++ b/plugins/decoder/wave/k3bwavedecoder.h @@ -32,14 +32,14 @@ class LIBK3B_EXPORT K3bWaveDecoderFactory : public K3bAudioDecoderFactory TQ_OBJECT public: - K3bWaveDecoderFactory( TQObject* tqparent = 0, const char* name = 0 ); + K3bWaveDecoderFactory( TQObject* parent = 0, const char* name = 0 ); ~K3bWaveDecoderFactory(); bool canDecode( const KURL& filename ); int pluginSystemVersion() const { return 3; } - K3bAudioDecoder* createDecoder( TQObject* tqparent = 0, + K3bAudioDecoder* createDecoder( TQObject* parent = 0, const char* name = 0 ) const; }; @@ -50,7 +50,7 @@ class LIBK3B_EXPORT K3bWaveDecoder : public K3bAudioDecoder TQ_OBJECT public: - K3bWaveDecoder( TQObject* tqparent = 0, const char* name = 0 ); + K3bWaveDecoder( TQObject* parent = 0, const char* name = 0 ); ~K3bWaveDecoder(); void cleanup(); diff --git a/plugins/encoder/external/k3bexternalencoder.cpp b/plugins/encoder/external/k3bexternalencoder.cpp index 6db4ea3..7f54bf9 100644 --- a/plugins/encoder/external/k3bexternalencoder.cpp +++ b/plugins/encoder/external/k3bexternalencoder.cpp @@ -99,8 +99,8 @@ public: }; -K3bExternalEncoder::K3bExternalEncoder( TQObject* tqparent, const char* name ) - : K3bAudioEncoder( tqparent, name ) +K3bExternalEncoder::K3bExternalEncoder( TQObject* parent, const char* name ) + : K3bAudioEncoder( parent, name ) { d = new Private(); } @@ -370,10 +370,10 @@ TQString K3bExternalEncoder::fileTypeComment( const TQString& ext ) const } -K3bPluginConfigWidget* K3bExternalEncoder::createConfigWidget( TQWidget* tqparent, +K3bPluginConfigWidget* K3bExternalEncoder::createConfigWidget( TQWidget* parent, const char* name ) const { - return new K3bExternalEncoderSettingsWidget( tqparent, name ); + return new K3bExternalEncoderSettingsWidget( parent, name ); } diff --git a/plugins/encoder/external/k3bexternalencoder.h b/plugins/encoder/external/k3bexternalencoder.h index 266299f..85a4491 100644 --- a/plugins/encoder/external/k3bexternalencoder.h +++ b/plugins/encoder/external/k3bexternalencoder.h @@ -30,7 +30,7 @@ class K3bExternalEncoder : public K3bAudioEncoder TQ_OBJECT public: - K3bExternalEncoder( TQObject* tqparent = 0, const char* name = 0 ); + K3bExternalEncoder( TQObject* parent = 0, const char* name = 0 ); ~K3bExternalEncoder(); TQStringList extensions() const; @@ -39,7 +39,7 @@ class K3bExternalEncoder : public K3bAudioEncoder int pluginSystemVersion() const { return 3; } - K3bPluginConfigWidget* createConfigWidget( TQWidget* tqparent, + K3bPluginConfigWidget* createConfigWidget( TQWidget* parent, const char* name ) const; /** diff --git a/plugins/encoder/external/k3bexternalencoderconfigwidget.cpp b/plugins/encoder/external/k3bexternalencoderconfigwidget.cpp index 473c2ab..7f2b289 100644 --- a/plugins/encoder/external/k3bexternalencoderconfigwidget.cpp +++ b/plugins/encoder/external/k3bexternalencoderconfigwidget.cpp @@ -30,12 +30,12 @@ -K3bExternalEncoderEditDialog::K3bExternalEncoderEditDialog( TQWidget* tqparent ) +K3bExternalEncoderEditDialog::K3bExternalEncoderEditDialog( TQWidget* parent ) : KDialogBase( Swallow, i18n("Editing external audio encoder"), Ok|Cancel, Ok, - tqparent ) + parent ) { m_editW = new base_K3bExternalEncoderEditWidget( this ); setMainWidget( m_editW ); @@ -109,8 +109,8 @@ public: }; -K3bExternalEncoderSettingsWidget::K3bExternalEncoderSettingsWidget( TQWidget* tqparent, const char* name ) - : K3bPluginConfigWidget( tqparent, name ) +K3bExternalEncoderSettingsWidget::K3bExternalEncoderSettingsWidget( TQWidget* parent, const char* name ) + : K3bPluginConfigWidget( parent, name ) { d = new Private(); diff --git a/plugins/encoder/external/k3bexternalencoderconfigwidget.h b/plugins/encoder/external/k3bexternalencoderconfigwidget.h index c8c607a..ee4a467 100644 --- a/plugins/encoder/external/k3bexternalencoderconfigwidget.h +++ b/plugins/encoder/external/k3bexternalencoderconfigwidget.h @@ -30,7 +30,7 @@ class K3bExternalEncoderEditDialog : public KDialogBase TQ_OBJECT public: - K3bExternalEncoderEditDialog( TQWidget* tqparent ); + K3bExternalEncoderEditDialog( TQWidget* parent ); ~K3bExternalEncoderEditDialog(); K3bExternalEncoderCommand currentCommand() const; @@ -50,7 +50,7 @@ class K3bExternalEncoderSettingsWidget : public K3bPluginConfigWidget TQ_OBJECT public: - K3bExternalEncoderSettingsWidget( TQWidget* tqparent = 0, const char* name = 0 ); + K3bExternalEncoderSettingsWidget( TQWidget* parent = 0, const char* name = 0 ); ~K3bExternalEncoderSettingsWidget(); public slots: diff --git a/plugins/encoder/lame/k3blameencoder.cpp b/plugins/encoder/lame/k3blameencoder.cpp index 19cbf16..8946f19 100644 --- a/plugins/encoder/lame/k3blameencoder.cpp +++ b/plugins/encoder/lame/k3blameencoder.cpp @@ -142,8 +142,8 @@ public: -K3bLameEncoder::K3bLameEncoder( TQObject* tqparent, const char* name ) - : K3bAudioEncoder( tqparent, name ) +K3bLameEncoder::K3bLameEncoder( TQObject* parent, const char* name ) + : K3bAudioEncoder( parent, name ) { d = new Private(); } @@ -398,8 +398,8 @@ void K3bLameEncoder::setMetaDataInternal( K3bAudioEncoder::MetaDataField f, cons -K3bLameEncoderSettingsWidget::K3bLameEncoderSettingsWidget( TQWidget* tqparent, const char* name ) - : K3bPluginConfigWidget( tqparent, name ) +K3bLameEncoderSettingsWidget::K3bLameEncoderSettingsWidget( TQWidget* parent, const char* name ) + : K3bPluginConfigWidget( parent, name ) { m_w = new base_K3bLameEncoderSettingsWidget( this ); m_w->m_sliderQuality->setRange( 0, 9 ); @@ -617,10 +617,10 @@ long long K3bLameEncoder::fileSize( const TQString&, const K3b::Msf& msf ) const } -K3bPluginConfigWidget* K3bLameEncoder::createConfigWidget( TQWidget* tqparent, +K3bPluginConfigWidget* K3bLameEncoder::createConfigWidget( TQWidget* parent, const char* name ) const { - return new K3bLameEncoderSettingsWidget( tqparent, name ); + return new K3bLameEncoderSettingsWidget( parent, name ); } diff --git a/plugins/encoder/lame/k3blameencoder.h b/plugins/encoder/lame/k3blameencoder.h index 25f5975..4e3a5dd 100644 --- a/plugins/encoder/lame/k3blameencoder.h +++ b/plugins/encoder/lame/k3blameencoder.h @@ -33,7 +33,7 @@ class K3bLameEncoder : public K3bAudioEncoder TQ_OBJECT public: - K3bLameEncoder( TQObject* tqparent = 0, const char* name = 0 ); + K3bLameEncoder( TQObject* parent = 0, const char* name = 0 ); ~K3bLameEncoder(); bool openFile( const TQString& extension, const TQString& filename, const K3b::Msf& length ); @@ -49,7 +49,7 @@ class K3bLameEncoder : public K3bAudioEncoder int pluginSystemVersion() const { return 3; } - K3bPluginConfigWidget* createConfigWidget( TQWidget* tqparent = 0, + K3bPluginConfigWidget* createConfigWidget( TQWidget* parent = 0, const char* name = 0 ) const; private: @@ -69,7 +69,7 @@ class K3bLameEncoderSettingsWidget : public K3bPluginConfigWidget TQ_OBJECT public: - K3bLameEncoderSettingsWidget( TQWidget* tqparent = 0, const char* name = 0 ); + K3bLameEncoderSettingsWidget( TQWidget* parent = 0, const char* name = 0 ); ~K3bLameEncoderSettingsWidget(); public slots: diff --git a/plugins/encoder/ogg/k3boggvorbisencoder.cpp b/plugins/encoder/ogg/k3boggvorbisencoder.cpp index 22f49a6..7878497 100644 --- a/plugins/encoder/ogg/k3boggvorbisencoder.cpp +++ b/plugins/encoder/ogg/k3boggvorbisencoder.cpp @@ -124,8 +124,8 @@ public: }; -K3bOggVorbisEncoder::K3bOggVorbisEncoder( TQObject* tqparent, const char* name ) - : K3bAudioEncoder( tqparent, name ) +K3bOggVorbisEncoder::K3bOggVorbisEncoder( TQObject* parent, const char* name ) + : K3bAudioEncoder( parent, name ) { d = new Private(); } @@ -426,8 +426,8 @@ void K3bOggVorbisEncoder::loadConfig() -K3bOggVorbisEncoderSettingsWidget::K3bOggVorbisEncoderSettingsWidget( TQWidget* tqparent, const char* name ) - : K3bPluginConfigWidget( tqparent, name ) +K3bOggVorbisEncoderSettingsWidget::K3bOggVorbisEncoderSettingsWidget( TQWidget* parent, const char* name ) + : K3bPluginConfigWidget( parent, name ) { w = new base_K3bOggVorbisEncoderSettingsWidget( this ); @@ -545,10 +545,10 @@ long long K3bOggVorbisEncoder::fileSize( const TQString&, const K3b::Msf& msf ) } -K3bPluginConfigWidget* K3bOggVorbisEncoder::createConfigWidget( TQWidget* tqparent, +K3bPluginConfigWidget* K3bOggVorbisEncoder::createConfigWidget( TQWidget* parent, const char* name ) const { - return new K3bOggVorbisEncoderSettingsWidget( tqparent, name ); + return new K3bOggVorbisEncoderSettingsWidget( parent, name ); } diff --git a/plugins/encoder/ogg/k3boggvorbisencoder.h b/plugins/encoder/ogg/k3boggvorbisencoder.h index 801021f..55e1f4b 100644 --- a/plugins/encoder/ogg/k3boggvorbisencoder.h +++ b/plugins/encoder/ogg/k3boggvorbisencoder.h @@ -30,7 +30,7 @@ class K3bOggVorbisEncoder : public K3bAudioEncoder TQ_OBJECT public: - K3bOggVorbisEncoder( TQObject* tqparent = 0, const char* name = 0 ); + K3bOggVorbisEncoder( TQObject* parent = 0, const char* name = 0 ); ~K3bOggVorbisEncoder(); TQStringList extensions() const { return TQStringList("ogg"); } @@ -41,7 +41,7 @@ class K3bOggVorbisEncoder : public K3bAudioEncoder int pluginSystemVersion() const { return 3; } - K3bPluginConfigWidget* createConfigWidget( TQWidget* tqparent = 0, + K3bPluginConfigWidget* createConfigWidget( TQWidget* parent = 0, const char* name = 0 ) const; private: @@ -66,7 +66,7 @@ class K3bOggVorbisEncoderSettingsWidget : public K3bPluginConfigWidget TQ_OBJECT public: - K3bOggVorbisEncoderSettingsWidget( TQWidget* tqparent = 0, const char* name = 0 ); + K3bOggVorbisEncoderSettingsWidget( TQWidget* parent = 0, const char* name = 0 ); ~K3bOggVorbisEncoderSettingsWidget(); public slots: diff --git a/plugins/encoder/skeleton.cpp b/plugins/encoder/skeleton.cpp index ef1a1c9..e7cc01e 100644 --- a/plugins/encoder/skeleton.cpp +++ b/plugins/encoder/skeleton.cpp @@ -25,8 +25,8 @@ K_EXPORT_COMPONENT_FACTORY( libk3bencoder, K3bPluginFactoryEncoder>( "libk3bencoder" ) ) -K3bEncoder::K3bEncoder( TQObject* tqparent, const char* name ) - : K3bAudioEncoder( tqparent, name ) +K3bEncoder::K3bEncoder( TQObject* parent, const char* name ) + : K3bAudioEncoder( parent, name ) { } @@ -83,16 +83,16 @@ long long K3bEncoder::fileSize( const TQString&, const K3b::Msf& msf ) con } -K3bPluginConfigWidget* K3bEncoder::createConfigWidget( TQWidget* tqparent, +K3bPluginConfigWidget* K3bEncoder::createConfigWidget( TQWidget* parent, const char* name ) const { - return new K3bEncoderSettingsWidget( tqparent, name ); + return new K3bEncoderSettingsWidget( parent, name ); } -K3bEncoderSettingsWidget::K3bEncoderSettingsWidget( TQWidget* tqparent, const char* name ) - : K3bPluginConfigWidget( tqparent, name ) +K3bEncoderSettingsWidget::K3bEncoderSettingsWidget( TQWidget* parent, const char* name ) + : K3bPluginConfigWidget( parent, name ) { } diff --git a/plugins/encoder/skeleton.h b/plugins/encoder/skeleton.h index 49258f3..edcf308 100644 --- a/plugins/encoder/skeleton.h +++ b/plugins/encoder/skeleton.h @@ -27,7 +27,7 @@ class K3bEncoder : public K3bAudioEncoder TQ_OBJECT public: - K3bEncoder( TQObject* tqparent = 0, const char* name = 0 ); + K3bEncoder( TQObject* parent = 0, const char* name = 0 ); ~K3bEncoder(); TQStringList extensions() const; @@ -38,7 +38,7 @@ class K3bEncoder : public K3bAudioEncoder int pluginSystemVersion() const { return 3; } - K3bPluginConfigWidget* createConfigWidget( TQWidget* tqparent = 0, + K3bPluginConfigWidget* createConfigWidget( TQWidget* parent = 0, const char* name = 0 ) const; private: @@ -55,7 +55,7 @@ class K3bEncoderSettingsWidget : public K3bPluginConfigWidget TQ_OBJECT public: - K3bEncoderSettingsWidget( TQWidget* tqparent = 0, const char* name = 0 ); + K3bEncoderSettingsWidget( TQWidget* parent = 0, const char* name = 0 ); ~K3bEncoderSettingsWidget(); public slots: diff --git a/plugins/encoder/sox/k3bsoxencoder.cpp b/plugins/encoder/sox/k3bsoxencoder.cpp index b9097d3..ee69541 100644 --- a/plugins/encoder/sox/k3bsoxencoder.cpp +++ b/plugins/encoder/sox/k3bsoxencoder.cpp @@ -122,8 +122,8 @@ public: }; -K3bSoxEncoder::K3bSoxEncoder( TQObject* tqparent, const char* name ) - : K3bAudioEncoder( tqparent, name ) +K3bSoxEncoder::K3bSoxEncoder( TQObject* parent, const char* name ) + : K3bAudioEncoder( parent, name ) { if( k3bcore->externalBinManager()->program( "sox" ) == 0 ) k3bcore->externalBinManager()->addProgram( new K3bSoxProgram() ); @@ -364,16 +364,16 @@ long long K3bSoxEncoder::fileSize( const TQString&, const K3b::Msf& msf ) const } -K3bPluginConfigWidget* K3bSoxEncoder::createConfigWidget( TQWidget* tqparent, +K3bPluginConfigWidget* K3bSoxEncoder::createConfigWidget( TQWidget* parent, const char* name ) const { - return new K3bSoxEncoderSettingsWidget( tqparent, name ); + return new K3bSoxEncoderSettingsWidget( parent, name ); } -K3bSoxEncoderSettingsWidget::K3bSoxEncoderSettingsWidget( TQWidget* tqparent, const char* name ) - : K3bPluginConfigWidget( tqparent, name ) +K3bSoxEncoderSettingsWidget::K3bSoxEncoderSettingsWidget( TQWidget* parent, const char* name ) + : K3bPluginConfigWidget( parent, name ) { w = new base_K3bSoxEncoderConfigWidget( this ); w->m_editSamplerate->setValidator( new TQIntValidator( TQT_TQOBJECT(w->m_editSamplerate) ) ); diff --git a/plugins/encoder/sox/k3bsoxencoder.h b/plugins/encoder/sox/k3bsoxencoder.h index 1a923c9..6e38f35 100644 --- a/plugins/encoder/sox/k3bsoxencoder.h +++ b/plugins/encoder/sox/k3bsoxencoder.h @@ -30,7 +30,7 @@ class K3bSoxEncoder : public K3bAudioEncoder TQ_OBJECT public: - K3bSoxEncoder( TQObject* tqparent = 0, const char* name = 0 ); + K3bSoxEncoder( TQObject* parent = 0, const char* name = 0 ); ~K3bSoxEncoder(); TQStringList extensions() const; @@ -41,7 +41,7 @@ class K3bSoxEncoder : public K3bAudioEncoder int pluginSystemVersion() const { return 3; } - K3bPluginConfigWidget* createConfigWidget( TQWidget* tqparent = 0, + K3bPluginConfigWidget* createConfigWidget( TQWidget* parent = 0, const char* name = 0 ) const; /** @@ -70,7 +70,7 @@ class K3bSoxEncoderSettingsWidget : public K3bPluginConfigWidget TQ_OBJECT public: - K3bSoxEncoderSettingsWidget( TQWidget* tqparent = 0, const char* name = 0 ); + K3bSoxEncoderSettingsWidget( TQWidget* parent = 0, const char* name = 0 ); ~K3bSoxEncoderSettingsWidget(); public slots: diff --git a/plugins/project/audiometainforenamer/k3baudiometainforenamerplugin.cpp b/plugins/project/audiometainforenamer/k3baudiometainforenamerplugin.cpp index db68657..5211b36 100644 --- a/plugins/project/audiometainforenamer/k3baudiometainforenamerplugin.cpp +++ b/plugins/project/audiometainforenamer/k3baudiometainforenamerplugin.cpp @@ -74,9 +74,9 @@ public: K3bAudioMetainfoRenamerPluginWidget::K3bAudioMetainfoRenamerPluginWidget( K3bDoc* doc, - TQWidget* tqparent, + TQWidget* parent, const char* name ) - : TQWidget( tqparent, name ) + : TQWidget( parent, name ) { d = new Private(); d->doc = dynamic_cast(doc); @@ -352,14 +352,14 @@ TQString K3bAudioMetainfoRenamerPluginWidget::createNewName( K3bFileItem* item ) bool K3bAudioMetainfoRenamerPluginWidget::existsOtherItemWithSameName( K3bFileItem* item, const TQString& name ) { - K3bDirItem* dir = item->tqparent(); + K3bDirItem* dir = item->parent(); K3bDataItem* otherItem = dir->find( name ); if( otherItem && otherItem != item ) return true; TQListViewItem* dirViewItem = d->dirItemDict[dir]; TQListViewItem* current = dirViewItem->firstChild(); - while( current && current->tqparent() == dirViewItem ) { + while( current && current->parent() == dirViewItem ) { if( current->text(0) == name ) return true; current = current->nextSibling(); @@ -370,9 +370,9 @@ bool K3bAudioMetainfoRenamerPluginWidget::existsOtherItemWithSameName( K3bFileIt -K3bAudioMetainfoRenamerPlugin::K3bAudioMetainfoRenamerPlugin( TQObject* tqparent, +K3bAudioMetainfoRenamerPlugin::K3bAudioMetainfoRenamerPlugin( TQObject* parent, const char* name ) - : K3bProjectPlugin( DATA_PROJECTS, true, tqparent, name ) + : K3bProjectPlugin( DATA_PROJECTS, true, parent, name ) { setText( i18n("Rename Audio Files") ); setToolTip( i18n("Rename audio files based on their meta info.") ); @@ -384,9 +384,9 @@ K3bAudioMetainfoRenamerPlugin::~K3bAudioMetainfoRenamerPlugin() } -K3bProjectPluginGUIBase* K3bAudioMetainfoRenamerPlugin::createGUI( K3bDoc* doc, TQWidget* tqparent, const char* name ) +K3bProjectPluginGUIBase* K3bAudioMetainfoRenamerPlugin::createGUI( K3bDoc* doc, TQWidget* parent, const char* name ) { - return new K3bAudioMetainfoRenamerPluginWidget( doc, tqparent, name ); + return new K3bAudioMetainfoRenamerPluginWidget( doc, parent, name ); } #include "k3baudiometainforenamerplugin.moc" diff --git a/plugins/project/audiometainforenamer/k3baudiometainforenamerplugin.h b/plugins/project/audiometainforenamer/k3baudiometainforenamerplugin.h index 66f5167..e64e81d 100644 --- a/plugins/project/audiometainforenamer/k3baudiometainforenamerplugin.h +++ b/plugins/project/audiometainforenamer/k3baudiometainforenamerplugin.h @@ -33,7 +33,7 @@ class K3bAudioMetainfoRenamerPluginWidget : public TQWidget, public K3bProjectPl TQ_OBJECT public: - K3bAudioMetainfoRenamerPluginWidget( K3bDoc* doc, TQWidget* tqparent = 0, const char* name = 0 ); + K3bAudioMetainfoRenamerPluginWidget( K3bDoc* doc, TQWidget* parent = 0, const char* name = 0 ); ~K3bAudioMetainfoRenamerPluginWidget(); TQWidget* qWidget() { return this; } @@ -51,7 +51,7 @@ class K3bAudioMetainfoRenamerPluginWidget : public TQWidget, public K3bProjectPl void slotScanClicked(); private: - void scanDir( K3bDirItem*, TQListViewItem* tqparent ); + void scanDir( K3bDirItem*, TQListViewItem* parent ); TQString createNewName( K3bFileItem* ); bool existsOtherItemWithSameName( K3bFileItem*, const TQString& ); @@ -66,7 +66,7 @@ class K3bAudioMetainfoRenamerPlugin : public K3bProjectPlugin TQ_OBJECT public: - K3bAudioMetainfoRenamerPlugin( TQObject* tqparent, const char* name ); + K3bAudioMetainfoRenamerPlugin( TQObject* parent, const char* name ); ~K3bAudioMetainfoRenamerPlugin(); int pluginSystemVersion() const { return 3; } diff --git a/plugins/project/audioprojectcddb/k3baudioprojectcddbplugin.cpp b/plugins/project/audioprojectcddb/k3baudioprojectcddbplugin.cpp index 844071b..2f93124 100644 --- a/plugins/project/audioprojectcddb/k3baudioprojectcddbplugin.cpp +++ b/plugins/project/audioprojectcddb/k3baudioprojectcddbplugin.cpp @@ -44,9 +44,9 @@ K_EXPORT_COMPONENT_FACTORY( libk3baudioprojectcddbplugin, K3bPluginFactory( "libk3baudioprojectcddbplugin" ) ) -K3bAudioProjectCddbPlugin::K3bAudioProjectCddbPlugin( TQObject* tqparent, +K3bAudioProjectCddbPlugin::K3bAudioProjectCddbPlugin( TQObject* parent, const char* name ) - : K3bProjectPlugin( AUDIO_CD, false, tqparent, name ), + : K3bProjectPlugin( AUDIO_CD, false, parent, name ), m_cddb(0), m_progress(0) { @@ -61,14 +61,14 @@ K3bAudioProjectCddbPlugin::~K3bAudioProjectCddbPlugin() } -void K3bAudioProjectCddbPlugin::activate( K3bDoc* doc, TQWidget* tqparent ) +void K3bAudioProjectCddbPlugin::activate( K3bDoc* doc, TQWidget* parent ) { m_doc = dynamic_cast( doc ); - m_parentWidget = tqparent; + m_parentWidget = parent; m_canceled = false; if( !m_doc || m_doc->numOfTracks() == 0 ) { - KMessageBox::sorry( tqparent, i18n("Please select a non-empty audio project for a cddb query.") ); + KMessageBox::sorry( parent, i18n("Please select a non-empty audio project for a cddb query.") ); } else { if( !m_cddb ) { @@ -77,7 +77,7 @@ void K3bAudioProjectCddbPlugin::activate( K3bDoc* doc, TQWidget* tqparent ) this, TQT_SLOT(slotCddbQueryFinished(int)) ); } if( !m_progress ) { - m_progress = new K3bProgressDialog( i18n("Query Cddb"), tqparent, i18n("Audio Project") ); + m_progress = new K3bProgressDialog( i18n("Query Cddb"), parent, i18n("Audio Project") ); connect( m_progress, TQT_SIGNAL(cancelClicked()), this, TQT_SLOT(slotCancelClicked()) ); } @@ -141,7 +141,7 @@ void K3bAudioProjectCddbPlugin::slotCddbQueryFinished( int error ) } } - // make sure the progress dialog does not get deleted by it's tqparent + // make sure the progress dialog does not get deleted by it's parent delete m_progress; m_doc = 0; m_parentWidget = 0; diff --git a/plugins/project/audioprojectcddb/k3baudioprojectcddbplugin.h b/plugins/project/audioprojectcddb/k3baudioprojectcddbplugin.h index 40aabd5..b53a472 100644 --- a/plugins/project/audioprojectcddb/k3baudioprojectcddbplugin.h +++ b/plugins/project/audioprojectcddb/k3baudioprojectcddbplugin.h @@ -30,12 +30,12 @@ class K3bAudioProjectCddbPlugin : public K3bProjectPlugin TQ_OBJECT public: - K3bAudioProjectCddbPlugin( TQObject* tqparent, const char* name ); + K3bAudioProjectCddbPlugin( TQObject* parent, const char* name ); ~K3bAudioProjectCddbPlugin(); int pluginSystemVersion() const { return 3; } - void activate( K3bDoc* doc, TQWidget* tqparent ); + void activate( K3bDoc* doc, TQWidget* parent ); private slots: void slotCddbQueryFinished( int result ); -- cgit v1.2.3