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/DjVuText.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/DjVuText.cpp')
-rw-r--r-- | kviewshell/plugins/djvu/libdjvu/DjVuText.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kviewshell/plugins/djvu/libdjvu/DjVuText.cpp b/kviewshell/plugins/djvu/libdjvu/DjVuText.cpp index cac6869b..c6606a48 100644 --- a/kviewshell/plugins/djvu/libdjvu/DjVuText.cpp +++ b/kviewshell/plugins/djvu/libdjvu/DjVuText.cpp @@ -383,7 +383,7 @@ DjVuTXT::Zone::get_text_with_rect(const GRect &box, int &string_start, int &string_end) const { GPosition pos=tqchildren; - if(pos?box.tqcontains(rect):intersects_zone(box,rect)) + if(pos?box.contains(rect):intersects_zone(box,rect)) { const int text_end=text_start+text_length; if(string_start == string_end) @@ -617,7 +617,7 @@ DjVuTXT::find_text_in_rect(GRect target_rect, GUTF8String &text) const { GRect rect=words[p]->rect; if(rect.intersect(rect,target_rect)) - //if (target_rect.tqcontains(words[p]->rect)) + //if (target_rect.contains(words[p]->rect)) zone_list.append(words[p]); } } else @@ -631,7 +631,7 @@ DjVuTXT::find_text_in_rect(GRect target_rect, GUTF8String &text) const { GRect rect=words[p]->rect; if(rect.intersect(rect,target_rect)) - //if (target_rect.tqcontains(words[p]->rect)) + //if (target_rect.contains(words[p]->rect)) { start=false; zone_list.append(words[p]); @@ -648,7 +648,7 @@ DjVuTXT::find_text_in_rect(GRect target_rect, GUTF8String &text) const { GRect rect=words[p]->rect; if(rect.intersect(rect,target_rect)) - //if(target_rect.tqcontains(words[p]->rect) ) + //if(target_rect.contains(words[p]->rect) ) { end=false; zone_list.append(words[p]); |