summaryrefslogtreecommitdiffstats
path: root/kfile-plugins/rgb
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
commite7366c97c998679efa80cf61c88e64a11a3d3c33 (patch)
treea161d2940165f6cc47c05f0271ad8e5f64ffe6e8 /kfile-plugins/rgb
parentda4be7880ff1de6415ab6256afd2514e64f5fa2e (diff)
downloadtdegraphics-e7366c97c998679efa80cf61c88e64a11a3d3c33.tar.gz
tdegraphics-e7366c97c998679efa80cf61c88e64a11a3d3c33.zip
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
Diffstat (limited to 'kfile-plugins/rgb')
-rw-r--r--kfile-plugins/rgb/kfile_rgb.cpp8
-rw-r--r--kfile-plugins/rgb/kfile_rgb.h4
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;
};