From e7366c97c998679efa80cf61c88e64a11a3d3c33 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/kdegraphics@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kfile-plugins/jpeg/kfile_jpeg.cpp | 8 ++++---- kfile-plugins/jpeg/kfile_jpeg.h | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'kfile-plugins/jpeg') diff --git a/kfile-plugins/jpeg/kfile_jpeg.cpp b/kfile-plugins/jpeg/kfile_jpeg.cpp index 2472ac70..5bbd394d 100644 --- a/kfile-plugins/jpeg/kfile_jpeg.cpp +++ b/kfile-plugins/jpeg/kfile_jpeg.cpp @@ -44,9 +44,9 @@ typedef KGenericFactory JpegFactory; K_EXPORT_COMPONENT_FACTORY(kfile_jpeg, JpegFactory("kfile_jpeg")) -KJpegPlugin::KJpegPlugin(TQObject *tqparent, const char *name, +KJpegPlugin::KJpegPlugin(TQObject *parent, const char *name, const TQStringList &args ) - : KFilePlugin(tqparent, name, args) + : KFilePlugin(parent, name, args) { kdDebug(7034) << "jpeg plugin\n"; @@ -148,12 +148,12 @@ KJpegPlugin::KJpegPlugin(TQObject *tqparent, const char *name, } TQValidator* KJpegPlugin::createValidator(const KFileMetaInfoItem& /*item*/, - TQObject */*tqparent*/, + TQObject */*parent*/, const char */*name*/ ) const { // no need to return a validator that validates everything as OK :) // if (item.isEditable()) -// return new TQRegExpValidator(TQRegExp(".*"), tqparent, name); +// return new TQRegExpValidator(TQRegExp(".*"), parent, name); // else return 0L; } diff --git a/kfile-plugins/jpeg/kfile_jpeg.h b/kfile-plugins/jpeg/kfile_jpeg.h index ec6861d8..9a80a7f8 100644 --- a/kfile-plugins/jpeg/kfile_jpeg.h +++ b/kfile-plugins/jpeg/kfile_jpeg.h @@ -29,13 +29,13 @@ class KJpegPlugin: public KFilePlugin TQ_OBJECT public: - KJpegPlugin( TQObject *tqparent, const char *name, + KJpegPlugin( 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 KFileMetaInfoItem& item, - TQObject* tqparent, const char* name) const; + TQObject* parent, const char* name) const; private: TQDateTime parseDateTime( const TQString& string ); -- cgit v1.2.1