summaryrefslogtreecommitdiffstats
path: root/chalk/chalkcolor
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commitb6edfe41c9395f2e20784cbf0e630af6426950a3 (patch)
tree56ed9b871d4296e6c15949c24e16420be1b28697 /chalk/chalkcolor
parentef39e8e4178a8f98cf5f154916ba0f03e4855206 (diff)
downloadkoffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.tar.gz
koffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.zip
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
Diffstat (limited to 'chalk/chalkcolor')
-rw-r--r--chalk/chalkcolor/kis_abstract_colorspace.cc2
-rw-r--r--chalk/chalkcolor/kis_colorspace_factory_registry.cc6
-rw-r--r--chalk/chalkcolor/kis_colorspace_factory_registry.h2
3 files changed, 5 insertions, 5 deletions
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() + "<comb>" + 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