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 /kviewshell/plugins/djvu/libdjvu/GString.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 'kviewshell/plugins/djvu/libdjvu/GString.cpp')
-rw-r--r-- | kviewshell/plugins/djvu/libdjvu/GString.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kviewshell/plugins/djvu/libdjvu/GString.cpp b/kviewshell/plugins/djvu/libdjvu/GString.cpp index 8242279a..a618055e 100644 --- a/kviewshell/plugins/djvu/libdjvu/GString.cpp +++ b/kviewshell/plugins/djvu/libdjvu/GString.cpp @@ -1538,14 +1538,14 @@ GUTF8String::fromEscaped( const GMap<GUTF8String,GUTF8String> ConvMap ) const } }else { - GPosition map_entry = ConvMap.tqcontains( key ); + GPosition map_entry = ConvMap.contains( key ); if( map_entry ) { // Found in the conversion map, substitute ret += ConvMap[map_entry]; } else { static const GMap<GUTF8String,GUTF8String> &Basic = BasicMap(); - GPosition map_entry = Basic.tqcontains( key ); + GPosition map_entry = Basic.contains( key ); if ( map_entry ) { ret += Basic[map_entry]; @@ -1799,7 +1799,7 @@ GStringRep::rsearch(char const *ptr, int from) const } int -GStringRep::tqcontains(const char accept[],int from) const +GStringRep::contains(const char accept[],int from) const { if(from<0) { @@ -1821,10 +1821,10 @@ GStringRep::tqcontains(const char accept[],int from) const } int -GStringRep::rtqcontains(const char accept[],int from) const +GStringRep::rcontains(const char accept[],int from) const { int retval=(-1); - while((from=tqcontains(accept,from)) >= 0) + while((from=contains(accept,from)) >= 0) { retval=from++; } |