summaryrefslogtreecommitdiffstats
path: root/kfile-plugins/mp3
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit27edf28be2772229a7974a007313ea30d92c3ffd (patch)
tree14b9842bbd90c801d89ad5ddb38831fdf8aec1a4 /kfile-plugins/mp3
parent7ef01c0f34d9c6732d258154bcd3ba5a88280db9 (diff)
downloadtdemultimedia-27edf28be2772229a7974a007313ea30d92c3ffd.tar.gz
tdemultimedia-27edf28be2772229a7974a007313ea30d92c3ffd.zip
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
Diffstat (limited to 'kfile-plugins/mp3')
-rw-r--r--kfile-plugins/mp3/kfile_mp3.cpp14
-rw-r--r--kfile-plugins/mp3/kfile_mp3.h4
2 files changed, 9 insertions, 9 deletions
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<KMp3Plugin> 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