From bab40890696ec68c337dc290880423a0602b83c7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 16 Jan 2011 02:40:35 +0000 Subject: Finished remaining porting to new TQt API git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1214736 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kate/part/katetextline.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kate/part/katetextline.cpp') diff --git a/kate/part/katetextline.cpp b/kate/part/katetextline.cpp index 1d6fcf452..687c54b9c 100644 --- a/kate/part/katetextline.cpp +++ b/kate/part/katetextline.cpp @@ -238,7 +238,7 @@ int KateTextLine::cursorX(uint pos, uint tabChars) const { uint x = 0; - const uint n = kMin (pos, m_text.length()); + const uint n = kMin (pos, (uint)m_text.length()); const TQChar *tqunicode = m_text.tqunicode(); for ( uint z = 0; z < n; z++) @@ -282,12 +282,12 @@ bool KateTextLine::searchText (uint startCol, const TQString &text, uint *foundA if ( col == (int) m_text.length() ) ++startCol; do { - index = m_text.findRev( text, col, casesensitive ); + index = m_text.tqfindRev( text, col, casesensitive ); col--; } while ( col >= 0 && l + index >= startCol ); } else - index = m_text.find (text, startCol, casesensitive); + index = m_text.tqfind (text, startCol, casesensitive); if (index > -1) { -- cgit v1.2.1