summaryrefslogtreecommitdiffstats
path: root/chalk/chalkcolor
diff options
context:
space:
mode:
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