summaryrefslogtreecommitdiffstats
path: root/ksvg/impl/libs
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
commitda4be7880ff1de6415ab6256afd2514e64f5fa2e (patch)
tree0862c14883af0435b012f6f592221fc167ed7d91 /ksvg/impl/libs
parentd0a269b9b0361bf71c5dd5787be0839f9dcace8c (diff)
downloadtdegraphics-da4be7880ff1de6415ab6256afd2514e64f5fa2e.tar.gz
tdegraphics-da4be7880ff1de6415ab6256afd2514e64f5fa2e.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksvg/impl/libs')
-rw-r--r--ksvg/impl/libs/libtext2path/libtext2path.spec4
-rw-r--r--ksvg/impl/libs/libtext2path/src/Cache.h2
-rw-r--r--ksvg/impl/libs/libtext2path/src/Converter.cpp4
3 files changed, 5 insertions, 5 deletions
diff --git a/ksvg/impl/libs/libtext2path/libtext2path.spec b/ksvg/impl/libs/libtext2path/libtext2path.spec
index 208de711..e0c217bd 100644
--- a/ksvg/impl/libs/libtext2path/libtext2path.spec
+++ b/ksvg/impl/libs/libtext2path/libtext2path.spec
@@ -31,8 +31,8 @@ make -j
make install-strip DESTDIR=$RPM_BUILD_ROOT
cd
-tqfind . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > /%{name}-master.list
-tqfind . -type f -o -type l | sed 's|^\.||' >> $RPM_BUILD_DIR/%{name}-master.list
+find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > /%{name}-master.list
+find . -type f -o -type l | sed 's|^\.||' >> $RPM_BUILD_DIR/%{name}-master.list
%clean
rm -rf $RPM_BUILD_DIR/%{name}-%{version}
diff --git a/ksvg/impl/libs/libtext2path/src/Cache.h b/ksvg/impl/libs/libtext2path/src/Cache.h
index 51d09f45..a85fdf92 100644
--- a/ksvg/impl/libs/libtext2path/src/Cache.h
+++ b/ksvg/impl/libs/libtext2path/src/Cache.h
@@ -118,7 +118,7 @@ namespace T2P
}
// Lookup entry
- SharedT tqfind(const std::string &key)
+ SharedT find(const std::string &key)
{
for(typename std::vector<SharedT>::const_iterator it = m_entries.begin(); it != m_entries.end(); ++it)
{
diff --git a/ksvg/impl/libs/libtext2path/src/Converter.cpp b/ksvg/impl/libs/libtext2path/src/Converter.cpp
index 2085e003..11de3177 100644
--- a/ksvg/impl/libs/libtext2path/src/Converter.cpp
+++ b/ksvg/impl/libs/libtext2path/src/Converter.cpp
@@ -90,7 +90,7 @@ void Converter::setKerning(bool mode)
SharedFont Converter::requestFont(const FontVisualParams *params)
{
std::string cacheKey = cacheFontKey(params);
- SharedFont cached = m_fontCache.tqfind(cacheKey);
+ SharedFont cached = m_fontCache.find(cacheKey);
// If not available in cache, create new one and cache it :)
if(cached)
@@ -122,7 +122,7 @@ GlyphAffinePair *Converter::requestGlyph(GlyphRenderParams *params, Rectangle &b
// needed to generate the cache lookup key
selectGlyph(params);
- SharedGlyph cached = m_glyphCache.tqfind(cacheGlyphKey(params));
+ SharedGlyph cached = m_glyphCache.find(cacheGlyphKey(params));
// If not available in cache, render new one and cache it :)
// If we're mixing ie. japanese and latin characters (TTB tqlayout),