From 27edf28be2772229a7974a007313ea30d92c3ffd 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/kdemultimedia@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kfile-plugins/mp3/kfile_mp3.cpp | 14 +++++++------- kfile-plugins/mp3/kfile_mp3.h | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'kfile-plugins/mp3') diff --git a/kfile-plugins/mp3/kfile_mp3.cpp b/kfile-plugins/mp3/kfile_mp3.cpp index 8036cef8..f686147c 100644 --- a/kfile-plugins/mp3/kfile_mp3.cpp +++ b/kfile-plugins/mp3/kfile_mp3.cpp @@ -44,8 +44,8 @@ typedef KGenericFactory Mp3Factory; K_EXPORT_COMPONENT_FACTORY(kfile_mp3, Mp3Factory( "kfile_mp3" )) -KMp3Plugin::KMp3Plugin(TQObject *tqparent, const char *name, const TQStringList &args) - : KFilePlugin(tqparent, name, args) +KMp3Plugin::KMp3Plugin(TQObject *parent, const char *name, const TQStringList &args) + : KFilePlugin(parent, name, args) { kdDebug(7034) << "mp3 plugin\n"; @@ -267,8 +267,8 @@ class ComboValidator : public KStringListValidator { public: ComboValidator(const TQStringList &list, bool rejecting, - bool fixupEnabled, TQObject *tqparent, const char *name) : - KStringListValidator(list, rejecting, fixupEnabled, tqparent, name) + bool fixupEnabled, TQObject *parent, const char *name) : + KStringListValidator(list, rejecting, fixupEnabled, parent, name) { } @@ -281,13 +281,13 @@ public: TQValidator *KMp3Plugin::createValidator(const TQString & /* mimetype */, const TQString &group, const TQString &key, - TQObject *tqparent, const char *name) const + TQObject *parent, const char *name) const { kdDebug(7034) << "making a validator for " << group << "/" << key << endl; if(key == "Tracknumber" || key == "Date") { - return new TQIntValidator(0, 9999, tqparent, name); + return new TQIntValidator(0, 9999, parent, name); } if(key == "Genre") @@ -298,7 +298,7 @@ TQValidator *KMp3Plugin::createValidator(const TQString & /* mimetype */, { l.append(TStringToQString((*it))); } - return new ComboValidator(l, false, true, tqparent, name); + return new ComboValidator(l, false, true, parent, name); } return 0; diff --git a/kfile-plugins/mp3/kfile_mp3.h b/kfile-plugins/mp3/kfile_mp3.h index 903a5804..3bccebe1 100644 --- a/kfile-plugins/mp3/kfile_mp3.h +++ b/kfile-plugins/mp3/kfile_mp3.h @@ -29,14 +29,14 @@ class KMp3Plugin: public KFilePlugin TQ_OBJECT public: - KMp3Plugin(TQObject *tqparent, const char *name, const TQStringList &args); + KMp3Plugin(TQObject *parent, const char *name, const TQStringList &args); virtual bool readInfo( KFileMetaInfo& info, uint what ); virtual bool writeInfo( const KFileMetaInfo& info) const; virtual TQValidator *createValidator(const TQString &mimetype, const TQString &group, const TQString &key, - TQObject *tqparent, const char *name) const; + TQObject *parent, const char *name) const; }; #endif -- cgit v1.2.1