summaryrefslogtreecommitdiffstats
path: root/kompare/libdiff2/komparemodellist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kompare/libdiff2/komparemodellist.cpp')
-rw-r--r--kompare/libdiff2/komparemodellist.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kompare/libdiff2/komparemodellist.cpp b/kompare/libdiff2/komparemodellist.cpp
index dc39c1bc..ada2b949 100644
--- a/kompare/libdiff2/komparemodellist.cpp
+++ b/kompare/libdiff2/komparemodellist.cpp
@@ -494,7 +494,7 @@ TQStringList KompareModelList::split( const TQString& fileContents )
#else
const char split = '\n';
#endif
- while ( ( pos = contents.tqfind( split, oldpos ) ) >= 0 )
+ while ( ( pos = contents.find( split, oldpos ) ) >= 0 )
{
list.append( contents.mid( oldpos, pos - oldpos + 1 ) );
oldpos = pos + 1;
@@ -637,7 +637,7 @@ void KompareModelList::slotSelectionChanged( const Diff2::DiffModel* model, cons
// kdDebug(8101) << kdBacktrace() << endl;
m_selectedModel = const_cast<DiffModel*>(model);
- m_modelIndex = m_models->tqfindIndex( m_selectedModel );
+ m_modelIndex = m_models->findIndex( m_selectedModel );
kdDebug( 8101 ) << "m_modelIndex = " << m_modelIndex << endl;
m_selectedDifference = const_cast<Difference*>(diff);
@@ -1255,10 +1255,10 @@ bool KompareModelList::setSelectedModel( DiffModel* model )
if ( model != m_selectedModel )
{
- if ( m_models->tqfindIndex( model ) == -1 )
+ if ( m_models->findIndex( model ) == -1 )
return false;
kdDebug(8101) << "m_selectedModel (was) = " << m_selectedModel << endl;
- m_modelIndex = m_models->tqfindIndex( model );
+ m_modelIndex = m_models->findIndex( model );
kdDebug(8101) << "m_selectedModel (is) = " << m_selectedModel << endl;
m_selectedModel = model;
}