diff options
Diffstat (limited to 'kompare/komparepart')
-rw-r--r-- | kompare/komparepart/komparelistview.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kompare/komparepart/komparelistview.cpp b/kompare/komparepart/komparelistview.cpp index 5bf8e910..f52191a6 100644 --- a/kompare/komparepart/komparelistview.cpp +++ b/kompare/komparepart/komparelistview.cpp @@ -154,7 +154,7 @@ int KompareListView::firstVisibleDifference() } if( item ) - return m_items.tqfindIndex( ((KompareListViewLineItem*)item)->diffItemParent() ); + return m_items.findIndex( ((KompareListViewLineItem*)item)->diffItemParent() ); return -1; } @@ -177,7 +177,7 @@ int KompareListView::lastVisibleDifference() } if( item ) - return m_items.tqfindIndex( ((KompareListViewLineItem*)item)->diffItemParent() ); + return m_items.findIndex( ((KompareListViewLineItem*)item)->diffItemParent() ); return -1; } @@ -658,7 +658,7 @@ void KompareListViewLineItem::paintText( TQPainter* p, const TQColor& bg, int co // kdDebug(8104) << "TextChunk = \"" << textChunk << "\"" << endl; // kdDebug(8104) << "c->offset() = " << c->offset() << endl; // kdDebug(8104) << "prevValue = " << prevValue << endl; - textChunk.tqreplace( TQChar('\t'), kompareListView()->spaces() ); + textChunk.replace( TQChar('\t'), kompareListView()->spaces() ); prevValue = m->offset(); if ( m->type() == Marker::End ) { @@ -688,7 +688,7 @@ void KompareListViewLineItem::paintText( TQPainter* p, const TQColor& bg, int co { // Still have to draw some string without changes textChunk = m_text->string().mid( prevValue, kMax( ( unsigned int )1, m_text->string().length() - prevValue ) ); - textChunk.tqreplace( TQChar('\t'), kompareListView()->spaces() ); + textChunk.replace( TQChar('\t'), kompareListView()->spaces() ); // kdDebug(8104) << "TextChunk = \"" << textChunk << "\"" << endl; TQFont font( p->font() ); font.setBold( false ); |