summaryrefslogtreecommitdiffstats
path: root/kooka/ocrresedit.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 /kooka/ocrresedit.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 'kooka/ocrresedit.cpp')
-rw-r--r--kooka/ocrresedit.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kooka/ocrresedit.cpp b/kooka/ocrresedit.cpp
index 8465d09c..26785b4c 100644
--- a/kooka/ocrresedit.cpp
+++ b/kooka/ocrresedit.cpp
@@ -75,11 +75,11 @@ void ocrResEdit::slSelectWord( int line, const ocrWord& word )
if( line < paragraphs() )
{
TQString editLine = text(line);
- int cnt = editLine.tqcontains( word);
+ int cnt = editLine.contains( word);
if( cnt > 0 )
{
- int pos = editLine.tqfind(word);
+ int pos = editLine.find(word);
setCursorPosition( line, pos );
setSelection( line, pos, line, pos + word.length());
}
@@ -96,11 +96,11 @@ void ocrResEdit::slReplaceWord( int line, const TQString& wordFrom,
if( line < paragraphs() )
{
TQString editLine = text(line);
- int cnt = editLine.tqcontains( wordFrom );
+ int cnt = editLine.contains( wordFrom );
if( cnt > 0 )
{
- int pos = editLine.tqfind(wordFrom);
+ int pos = editLine.find(wordFrom);
setSelection( line, pos, line, pos+wordFrom.length());
TQColor saveCol = this->color();