diff options
Diffstat (limited to 'kfile-plugins/flac')
-rw-r--r-- | kfile-plugins/flac/kfile_flac.cpp | 10 | ||||
-rw-r--r-- | kfile-plugins/flac/kfile_flac.h | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/kfile-plugins/flac/kfile_flac.cpp b/kfile-plugins/flac/kfile_flac.cpp index be804ee1..c621f74c 100644 --- a/kfile-plugins/flac/kfile_flac.cpp +++ b/kfile-plugins/flac/kfile_flac.cpp @@ -56,9 +56,9 @@ K_EXPORT_COMPONENT_FACTORY(kfile_flac, KGenericFactory<KFlacPlugin>("kfile_flac")) -KFlacPlugin::KFlacPlugin( TQObject *tqparent, const char *name, +KFlacPlugin::KFlacPlugin( TQObject *parent, const char *name, const TQStringList &args ) - : KFilePlugin( tqparent, name, args ) + : KFilePlugin( parent, name, args ) { kdDebug(7034) << "flac plugin\n"; @@ -269,14 +269,14 @@ bool KFlacPlugin::writeInfo(const KFileMetaInfo& info) const TQValidator* KFlacPlugin::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_flac.moc" diff --git a/kfile-plugins/flac/kfile_flac.h b/kfile-plugins/flac/kfile_flac.h index 8d60169c..d8019195 100644 --- a/kfile-plugins/flac/kfile_flac.h +++ b/kfile-plugins/flac/kfile_flac.h @@ -35,14 +35,14 @@ class KFlacPlugin: public KFilePlugin TQ_OBJECT public: - KFlacPlugin( TQObject *tqparent, const char *name, const TQStringList& args ); + KFlacPlugin( 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; protected: virtual void makeMimeTypeInfo(const TQString& mimeType); }; |