diff options
Diffstat (limited to 'kfile-plugins/mpc')
-rw-r--r-- | kfile-plugins/mpc/kfile_mpc.cpp | 10 | ||||
-rw-r--r-- | kfile-plugins/mpc/kfile_mpc.h | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/kfile-plugins/mpc/kfile_mpc.cpp b/kfile-plugins/mpc/kfile_mpc.cpp index a1bf5648..830feb54 100644 --- a/kfile-plugins/mpc/kfile_mpc.cpp +++ b/kfile-plugins/mpc/kfile_mpc.cpp @@ -48,9 +48,9 @@ K_EXPORT_COMPONENT_FACTORY(kfile_mpc, KGenericFactory<KMpcPlugin>("kfile_mpc")) -KMpcPlugin::KMpcPlugin( TQObject *tqparent, const char *name, +KMpcPlugin::KMpcPlugin( TQObject *parent, const char *name, const TQStringList &args ) - : KFilePlugin( tqparent, name, args ) + : KFilePlugin( parent, name, args ) { kdDebug(7034) << "mpc plugin\n"; @@ -240,14 +240,14 @@ bool KMpcPlugin::writeInfo(const KFileMetaInfo& info) const TQValidator* KMpcPlugin::createValidator( const TQString&, const TQString &group, const TQString &key, - TQObject* tqparent, const char* name) const + TQObject* parent, const char* name) const { if(key == "Tracknumber" || key == "Date") { - return new TQIntValidator(0, 9999, tqparent, name); + return new TQIntValidator(0, 9999, parent, name); } else - return new TQRegExpValidator(TQRegExp(".*"), tqparent, name); + return new TQRegExpValidator(TQRegExp(".*"), parent, name); } #include "kfile_mpc.moc" diff --git a/kfile-plugins/mpc/kfile_mpc.h b/kfile-plugins/mpc/kfile_mpc.h index 380da446..ef747c50 100644 --- a/kfile-plugins/mpc/kfile_mpc.h +++ b/kfile-plugins/mpc/kfile_mpc.h @@ -35,14 +35,14 @@ class KMpcPlugin: public KFilePlugin TQ_OBJECT public: - KMpcPlugin( TQObject *tqparent, const char *name, const TQStringList& args ); + KMpcPlugin( 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; }; |