diff options
Diffstat (limited to 'kfile-plugins/rgb')
-rw-r--r-- | kfile-plugins/rgb/kfile_rgb.cpp | 8 | ||||
-rw-r--r-- | kfile-plugins/rgb/kfile_rgb.h | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/kfile-plugins/rgb/kfile_rgb.cpp b/kfile-plugins/rgb/kfile_rgb.cpp index ff6dadde..41bd8c28 100644 --- a/kfile-plugins/rgb/kfile_rgb.cpp +++ b/kfile-plugins/rgb/kfile_rgb.cpp @@ -32,8 +32,8 @@ typedef KGenericFactory<KRgbPlugin> RgbFactory; K_EXPORT_COMPONENT_FACTORY(kfile_rgb, RgbFactory("kfile_rgb")) -KRgbPlugin::KRgbPlugin(TQObject *tqparent, const char *name, const TQStringList &args) : - KFilePlugin(tqparent, name, args) +KRgbPlugin::KRgbPlugin(TQObject *parent, const char *name, const TQStringList &args) : + KFilePlugin(parent, name, args) { KFileMimeTypeInfo* info = addMimeTypeInfo("image/x-rgb"); @@ -199,9 +199,9 @@ bool KRgbPlugin::writeInfo(const KFileMetaInfo& info) const // restrict to 79 ASCII characters TQValidator* KRgbPlugin::createValidator(const TQString&, const TQString &, - const TQString &, TQObject* tqparent, const char* name) const + const TQString &, TQObject* parent, const char* name) const { - return new TQRegExpValidator(TQRegExp("[\x0020-\x007E]{79}"), tqparent, name); + return new TQRegExpValidator(TQRegExp("[\x0020-\x007E]{79}"), parent, name); } diff --git a/kfile-plugins/rgb/kfile_rgb.h b/kfile-plugins/rgb/kfile_rgb.h index bbbfd1b4..8e507820 100644 --- a/kfile-plugins/rgb/kfile_rgb.h +++ b/kfile-plugins/rgb/kfile_rgb.h @@ -30,12 +30,12 @@ class KRgbPlugin : public KFilePlugin TQ_OBJECT public: - KRgbPlugin(TQObject *tqparent, const char *name, const TQStringList& args); + KRgbPlugin(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; }; |