summaryrefslogtreecommitdiffstats
path: root/src/mergeresultwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mergeresultwindow.cpp')
-rw-r--r--src/mergeresultwindow.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mergeresultwindow.cpp b/src/mergeresultwindow.cpp
index ac377d6..119294f 100644
--- a/src/mergeresultwindow.cpp
+++ b/src/mergeresultwindow.cpp
@@ -1090,7 +1090,7 @@ TQString calcHistorySortKey( const TQString& keyOrder, TQRegExp& matchedRegExpr,
}
TQString groupRegExp = parenthesesGroupList[groupIdx-1];
- if( groupRegExp.tqfind('|')<0 || groupRegExp.tqfind('(')>=0 )
+ if( groupRegExp.find('|')<0 || groupRegExp.find('(')>=0 )
{
bool bOk = false;
int i = s.toInt( &bOk );
@@ -1104,7 +1104,7 @@ TQString calcHistorySortKey( const TQString& keyOrder, TQRegExp& matchedRegExpr,
// s is the string that managed to match.
// Now we want to know at which position it occurred. e.g. Jan=0, Feb=1, Mar=2, etc.
TQStringList sl = TQStringList::split( '|', groupRegExp );
- int idx = sl.tqfindIndex( s );
+ int idx = sl.findIndex( s );
if (idx<0)
{
// Didn't match
@@ -2337,7 +2337,7 @@ void MergeResultWindow::keyPressEvent( TQKeyEvent* e )
if ( m_bInsertMode )
s.insert( x, t );
else
- s.tqreplace( x, t.length(), t );
+ s.replace( x, t.length(), t );
melIt->setString( s );
x += t.length();
@@ -2758,7 +2758,7 @@ bool MergeResultWindow::findString( const TQString& s, int& d3vLine, int& posInL
TQString line = getString( it );
if ( !line.isEmpty() )
{
- int pos = line.tqfind( s, startPos, bCaseSensitive );
+ int pos = line.find( s, startPos, bCaseSensitive );
if ( pos != -1 )
{
d3vLine = it;