From b6edfe41c9395f2e20784cbf0e630af6426950a3 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: rename the following methods: tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- chalk/chalkcolor/kis_abstract_colorspace.cc | 2 +- chalk/chalkcolor/kis_colorspace_factory_registry.cc | 6 +++--- chalk/chalkcolor/kis_colorspace_factory_registry.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'chalk/chalkcolor') diff --git a/chalk/chalkcolor/kis_abstract_colorspace.cc b/chalk/chalkcolor/kis_abstract_colorspace.cc index 66b8e1ad..f532f18e 100644 --- a/chalk/chalkcolor/kis_abstract_colorspace.cc +++ b/chalk/chalkcolor/kis_abstract_colorspace.cc @@ -232,7 +232,7 @@ bool KisAbstractColorSpace::convertPixelsTo(const TQ_UINT8 * src, if (!tf && m_profile && dstColorSpace->getProfile()) { - if (!m_transforms.tqcontains(dstColorSpace)) { + if (!m_transforms.contains(dstColorSpace)) { tf = createTransform(dstColorSpace, m_profile, dstColorSpace->getProfile(), diff --git a/chalk/chalkcolor/kis_colorspace_factory_registry.cc b/chalk/chalkcolor/kis_colorspace_factory_registry.cc index 6758f7d5..424e346d 100644 --- a/chalk/chalkcolor/kis_colorspace_factory_registry.cc +++ b/chalk/chalkcolor/kis_colorspace_factory_registry.cc @@ -100,7 +100,7 @@ KisColorSpaceFactoryRegistry::~KisColorSpaceFactoryRegistry() KisProfile * KisColorSpaceFactoryRegistry::getProfileByName(const TQString & name) { - if (m_profileMap.tqfind(name) == m_profileMap.end()) { + if (m_profileMap.find(name) == m_profileMap.end()) { return 0; } @@ -160,7 +160,7 @@ KisColorSpace * KisColorSpaceFactoryRegistry::getColorSpace(const KisID & csID, TQString name = csID.id() + "" + profileName; - if (m_csMap.tqfind(name) == m_csMap.end()) { + if (m_csMap.find(name) == m_csMap.end()) { KisColorSpaceFactory *csf = get(csID); if(!csf) return 0; @@ -175,7 +175,7 @@ KisColorSpace * KisColorSpaceFactoryRegistry::getColorSpace(const KisID & csID, m_csMap[name] = cs; } - if(m_csMap.tqcontains(name)) + if(m_csMap.contains(name)) return m_csMap[name]; else return 0; diff --git a/chalk/chalkcolor/kis_colorspace_factory_registry.h b/chalk/chalkcolor/kis_colorspace_factory_registry.h index 104c99aa..1ecff87a 100644 --- a/chalk/chalkcolor/kis_colorspace_factory_registry.h +++ b/chalk/chalkcolor/kis_colorspace_factory_registry.h @@ -27,7 +27,7 @@ class TQStringList; class KisPaintDeviceAction; /** - * This class tqcontains: + * This class contains: * - a registry of colorspace instantiated with specific profiles. * - a registry of singleton colorspace factories. * - a registry of icc profiles -- cgit v1.2.1