diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 0813b39aed2cf4c84157a22c4c9594336d93d412 (patch) | |
tree | 0f6157f9c9ecc6ed26cb98f058219a8021d3f4a6 /kompare/libdiff2/komparemodellist.cpp | |
parent | 35dc58791106d7a1864264063df5f3ee3f1f0f15 (diff) | |
download | tdesdk-0813b39aed2cf4c84157a22c4c9594336d93d412.tar.gz tdesdk-0813b39aed2cf4c84157a22c4c9594336d93d412.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kompare/libdiff2/komparemodellist.cpp')
-rw-r--r-- | kompare/libdiff2/komparemodellist.cpp | 8 |
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; } |