diff options
Diffstat (limited to 'src/svnfrontend/blamedisplay_impl.cpp')
-rw-r--r-- | src/svnfrontend/blamedisplay_impl.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/svnfrontend/blamedisplay_impl.cpp b/src/svnfrontend/blamedisplay_impl.cpp index 4a79b6e..7365079 100644 --- a/src/svnfrontend/blamedisplay_impl.cpp +++ b/src/svnfrontend/blamedisplay_impl.cpp @@ -115,7 +115,7 @@ public: setText(COL_AUT,m_Content.tAuthor()); } TQString _line = m_Content.tLine(); - _line.tqreplace("\t"," "); + _line.replace("\t"," "); setText(COL_LINE,TQString("%1").tqarg(_line)); } @@ -162,7 +162,7 @@ void BlameDisplayItem::display() setText(COL_LINENR,TQString("%1").tqarg(m_Content.lineNumber()+1)); TQString _line = m_Content.tLine(); - _line.tqreplace("\t"," "); + _line.replace("\t"," "); setText(COL_LINE,TQString("%1").tqarg(_line)); } @@ -296,7 +296,7 @@ void BlameDisplay_impl::setContent(const TQString&what,const svn::AnnotatedFile& if (disp) { lastRev = (*bit).revision(); } - if (m_Data->m_shadingMap.tqfind((*bit).revision())==m_Data->m_shadingMap.end()) { + if (m_Data->m_shadingMap.find((*bit).revision())==m_Data->m_shadingMap.end()) { m_Data->m_shadingMap[(*bit).revision()]=TQColor(); } } @@ -307,7 +307,7 @@ void BlameDisplay_impl::setContent(const TQString&what,const svn::AnnotatedFile& uint colinc=0; for (svn_revnum_t i = m_Data->min; i<= m_Data->max;++i) { - if (m_Data->m_shadingMap.tqfind(i)==m_Data->m_shadingMap.end()) { + if (m_Data->m_shadingMap.find(i)==m_Data->m_shadingMap.end()) { continue; } a.setRgb(a.red()+offset,a.green()+offset,a.blue()+offset); @@ -340,7 +340,7 @@ void BlameDisplay_impl::setContent(const TQString&what,const svn::AnnotatedFile& const TQColor BlameDisplay_impl::rev2color(svn_revnum_t r )const { - if (m_Data->m_shadingMap.tqfind(r)!=m_Data->m_shadingMap.end() && m_Data->m_shadingMap[r].isValid()) + if (m_Data->m_shadingMap.find(r)!=m_Data->m_shadingMap.end() && m_Data->m_shadingMap[r].isValid()) { return m_Data->m_shadingMap[r]; } else { @@ -399,7 +399,7 @@ void BlameDisplay_impl::showCommit(BlameDisplayItem*bit) if (!bit) return; WidgetBlockStack a(m_BlameList); TQString text; - if (m_Data->m_logCache.tqfind(bit->rev())!=m_Data->m_logCache.end()) { + if (m_Data->m_logCache.find(bit->rev())!=m_Data->m_logCache.end()) { text = m_Data->m_logCache[bit->rev()].message; } else { CursorStack a(TQt::BusyCursor); |