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 | 5173e6fcb16310e130fba4143e334563b4f8460e (patch) | |
tree | 52333f9eb0c94f760d4dddc8714671fb50f7b625 /src/difftextwindow.cpp | |
parent | 7b4db4f16d44d4e9aeee241211827558acd64f17 (diff) | |
download | kdiff3-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.cpp | 4 |
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 ) { |