summaryrefslogtreecommitdiffstats
path: root/parts/replace/replaceview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/replace/replaceview.cpp')
-rw-r--r--parts/replace/replaceview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/parts/replace/replaceview.cpp b/parts/replace/replaceview.cpp
index 5f5eee77..b81b7dbb 100644
--- a/parts/replace/replaceview.cpp
+++ b/parts/replace/replaceview.cpp
@@ -60,7 +60,7 @@ void ReplaceView::makeReplacementsForFile( TQTextStream & istream, TQTextStream
line++;
}
// this is the hit
- ostream << istream.readLine().tqreplace( _regexp, _replacement ) << "\n";
+ ostream << istream.readLine().replace( _regexp, _replacement ) << "\n";
line++;
}
@@ -84,9 +84,9 @@ void ReplaceView::showReplacementsForFile( TQTextStream & stream, TQString const
{
TQString s = stream.readLine();
- if ( s.tqcontains( _regexp ) > 0 )
+ if ( s.contains( _regexp ) > 0 )
{
- s.tqreplace( _regexp, _replacement );
+ s.replace( _regexp, _replacement );
if ( firstline )
{