diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | da4be7880ff1de6415ab6256afd2514e64f5fa2e (patch) | |
tree | 0862c14883af0435b012f6f592221fc167ed7d91 /kdvi/fontMap.cpp | |
parent | d0a269b9b0361bf71c5dd5787be0839f9dcace8c (diff) | |
download | tdegraphics-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 'kdvi/fontMap.cpp')
-rw-r--r-- | kdvi/fontMap.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kdvi/fontMap.cpp b/kdvi/fontMap.cpp index b285018b..7dec6f4f 100644 --- a/kdvi/fontMap.cpp +++ b/kdvi/fontMap.cpp @@ -78,7 +78,7 @@ fontMap::fontMap() encodingName = encodingName.mid(1); double slant = 0.0; - int i = line.tqfind("SlantFont"); + int i = line.find("SlantFont"); if (i >= 0) { bool ok; slant = line.left(i).section(' ', -1, -1 ,TQString::SectionSkipEmpty).toDouble(&ok); @@ -115,7 +115,7 @@ fontMap::fontMap() const TQString &fontMap::findFileName(const TQString &TeXName) { - TQMap<TQString, fontMapEntry>::Iterator it = fontMapEntries.tqfind(TeXName); + TQMap<TQString, fontMapEntry>::Iterator it = fontMapEntries.find(TeXName); if (it != fontMapEntries.end()) return it.data().fontFileName; @@ -126,7 +126,7 @@ const TQString &fontMap::findFileName(const TQString &TeXName) const TQString &fontMap::findFontName(const TQString &TeXName) { - TQMap<TQString, fontMapEntry>::Iterator it = fontMapEntries.tqfind(TeXName); + TQMap<TQString, fontMapEntry>::Iterator it = fontMapEntries.find(TeXName); if (it != fontMapEntries.end()) return it.data().fullFontName; @@ -137,7 +137,7 @@ const TQString &fontMap::findFontName(const TQString &TeXName) const TQString &fontMap::findEncoding(const TQString &TeXName) { - TQMap<TQString, fontMapEntry>::Iterator it = fontMapEntries.tqfind(TeXName); + TQMap<TQString, fontMapEntry>::Iterator it = fontMapEntries.find(TeXName); if (it != fontMapEntries.end()) return it.data().fontEncoding; @@ -148,7 +148,7 @@ const TQString &fontMap::findEncoding(const TQString &TeXName) double fontMap::findSlant(const TQString &TeXName) { - TQMap<TQString, fontMapEntry>::Iterator it = fontMapEntries.tqfind(TeXName); + TQMap<TQString, fontMapEntry>::Iterator it = fontMapEntries.find(TeXName); if (it != fontMapEntries.end()) return it.data().slant; |