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/renderedDocumentPage.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/renderedDocumentPage.cpp')
-rw-r--r-- | kviewshell/renderedDocumentPage.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kviewshell/renderedDocumentPage.cpp b/kviewshell/renderedDocumentPage.cpp index 990f1de6..6bfc454c 100644 --- a/kviewshell/renderedDocumentPage.cpp +++ b/kviewshell/renderedDocumentPage.cpp @@ -194,7 +194,7 @@ TextSelection RenderedDocumentPage::select(const TQPoint& point) for (unsigned int i=0; i<textBoxList.size(); i++) { - if (textBoxList[i].box.tqcontains(point)) + if (textBoxList[i].box.contains(point)) { selectedTextStart = i; selectedTextEnd = i; @@ -216,7 +216,7 @@ TextSelection RenderedDocumentPage::select(const TQPoint& point) return selection; } -TextSelection RenderedDocumentPage::tqfind(const TQString& str, int index, bool caseSensitive) +TextSelection RenderedDocumentPage::find(const TQString& str, int index, bool caseSensitive) { if (pageText.isNull()) { @@ -241,7 +241,7 @@ TextSelection RenderedDocumentPage::tqfind(const TQString& str, int index, bool subIndex += textBoxList[i].text.length(); } - int textIndex = pageText.tqfind(str, subIndex, caseSensitive); + int textIndex = pageText.find(str, subIndex, caseSensitive); if (textIndex == -1) return selection; @@ -291,7 +291,7 @@ TextSelection RenderedDocumentPage::tqfind(const TQString& str, int index, bool } -TextSelection RenderedDocumentPage::tqfindRev(const TQString& str, int index, bool caseSensitive) +TextSelection RenderedDocumentPage::findRev(const TQString& str, int index, bool caseSensitive) { // Negative index means we start the search at the end of the text. if (index < 0) @@ -322,7 +322,7 @@ TextSelection RenderedDocumentPage::tqfindRev(const TQString& str, int index, bo subIndex += textBoxList[i].text.length(); } - int textIndex = pageText.tqfindRev(str, subIndex, caseSensitive); + int textIndex = pageText.findRev(str, subIndex, caseSensitive); if (textIndex == -1) return selection; |