summaryrefslogtreecommitdiffstats
path: root/kviewshell/renderedDocumentPage.cpp
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 /kviewshell/renderedDocumentPage.cpp
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 'kviewshell/renderedDocumentPage.cpp')
-rw-r--r--kviewshell/renderedDocumentPage.cpp10
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;