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.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/parts/replace/replaceview.cpp b/parts/replace/replaceview.cpp
index 6730971a..5f5eee77 100644
--- a/parts/replace/replaceview.cpp
+++ b/parts/replace/replaceview.cpp
@@ -27,7 +27,7 @@ ReplaceItem * ReplaceView::firstChild() const
}
-ReplaceView::ReplaceView( TQWidget * parent ) : KListView( parent ), _latestfile( 0 )
+ReplaceView::ReplaceView( TQWidget * tqparent ) : KListView( tqparent ), _latestfile( 0 )
{
setSorting( -1 );
addColumn( "" );
@@ -36,7 +36,7 @@ ReplaceView::ReplaceView( TQWidget * parent ) : KListView( parent ), _latestfile
TQPalette pal = palette();
TQColorGroup cg = pal.active();
- cg.setColor( TQColorGroup::Highlight, Qt::lightGray );
+ cg.setColor( TQColorGroup::Highlight, TQt::lightGray );
pal.setActive( cg );
setPalette( pal );
@@ -60,7 +60,7 @@ void ReplaceView::makeReplacementsForFile( TQTextStream & istream, TQTextStream
line++;
}
// this is the hit
- ostream << istream.readLine().replace( _regexp, _replacement ) << "\n";
+ ostream << istream.readLine().tqreplace( _regexp, _replacement ) << "\n";
line++;
}
@@ -84,9 +84,9 @@ void ReplaceView::showReplacementsForFile( TQTextStream & stream, TQString const
{
TQString s = stream.readLine();
- if ( s.contains( _regexp ) > 0 )
+ if ( s.tqcontains( _regexp ) > 0 )
{
- s.replace( _regexp, _replacement );
+ s.tqreplace( _regexp, _replacement );
if ( firstline )
{
@@ -119,7 +119,7 @@ void ReplaceView::slotMousePressed(int btn, TQListViewItem* i, const TQPoint& po
else if ( btn == Qt::LeftButton )
{
// map pos to item/column and call ReplacetItem::activate(pos)
- item->activate( col, viewport()->mapFromGlobal( pos ) - TQPoint( 0, itemRect(item).top() ) );
+ item->activate( col, viewport()->mapFromGlobal( pos ) - TQPoint( 0, tqitemRect(item).top() ) );
}
}
}