summaryrefslogtreecommitdiffstats
path: root/src/difftextwindow.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
commit5173e6fcb16310e130fba4143e334563b4f8460e (patch)
tree52333f9eb0c94f760d4dddc8714671fb50f7b625 /src/difftextwindow.cpp
parent7b4db4f16d44d4e9aeee241211827558acd64f17 (diff)
downloadkdiff3-5173e6fcb16310e130fba4143e334563b4f8460e.tar.gz
kdiff3-5173e6fcb16310e130fba4143e334563b4f8460e.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kdiff3@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/difftextwindow.cpp')
-rw-r--r--src/difftextwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/difftextwindow.cpp b/src/difftextwindow.cpp
index 93a3770..3c570e4 100644
--- a/src/difftextwindow.cpp
+++ b/src/difftextwindow.cpp
@@ -1250,7 +1250,7 @@ bool DiffTextWindow::findString( const TQString& s, int& d3vLine, int& posInLine
TQString line = d->getString( it );
if ( !line.isEmpty() )
{
- int pos = line.tqfind( s, startPos, bCaseSensitive );
+ int pos = line.find( s, startPos, bCaseSensitive );
if ( pos != -1 )
{
d3vLine = it;
@@ -1427,7 +1427,7 @@ int wordWrap( const TQString& origLine, int nofColumns, Diff3WrapLine* pDiff3Wra
}
else
{
- int wsPos = max2( origLine.tqfindRev( ' ', wrapPos ), origLine.tqfindRev( '\t', wrapPos ) );
+ int wsPos = max2( origLine.findRev( ' ', wrapPos ), origLine.findRev( '\t', wrapPos ) );
if ( wsPos > pos )
{