summaryrefslogtreecommitdiffstats
path: root/kate/part/katetemplatehandler.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:48:49 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:48:49 -0600
commit13281e2856a2ef43bbab78c5528470309c23aa77 (patch)
tree936bcf8145dc235004c73e9fb3d6b3dca9aa370b /kate/part/katetemplatehandler.cpp
parente81c741bb2cf337a43524e75f22f7728ce17a343 (diff)
downloadtdelibs-13281e2856a2ef43bbab78c5528470309c23aa77.tar.gz
tdelibs-13281e2856a2ef43bbab78c5528470309c23aa77.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kate/part/katetemplatehandler.cpp')
-rw-r--r--kate/part/katetemplatehandler.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kate/part/katetemplatehandler.cpp b/kate/part/katetemplatehandler.cpp
index e9124e77f..52e07a2e4 100644
--- a/kate/part/katetemplatehandler.cpp
+++ b/kate/part/katetemplatehandler.cpp
@@ -173,7 +173,7 @@ void KateTemplateHandler::generateRangeTable( uint insertLine, uint insertCol, c
{
++col;
- if ( insertString.tqat( colInText ) == '\n' )
+ if ( insertString.at( colInText ) == '\n' )
{
col = 0;
line++;
@@ -216,7 +216,7 @@ void KateTemplateHandler::slotTextInserted( int line, int col )
if ( !m_currentRange ) return ;
- KateTemplatePlaceHolder *ph = m_tabOrder.tqat( m_currentTabStop );
+ KateTemplatePlaceHolder *ph = m_tabOrder.at( m_currentTabStop );
TQString sourceText = m_doc->text ( m_currentRange->start().line(), m_currentRange->start().col(),
m_currentRange->end().line(), m_currentRange->end().col(), false );
@@ -257,7 +257,7 @@ void KateTemplateHandler::locateRange( const KateTextCursor& cursor )
for ( uint i = 0;i < m_tabOrder.count();i++ )
{
- KateTemplatePlaceHolder *ph = m_tabOrder.tqat( i );
+ KateTemplatePlaceHolder *ph = m_tabOrder.at( i );
for ( KateSuperRangeList::const_iterator it = ph->ranges.begin();it != ph->ranges.end();++it )
{
@@ -297,9 +297,9 @@ bool KateTemplateHandler::operator() ( KKey key )
if ( m_currentTabStop < 0 ) m_currentTabStop = m_tabOrder.count() - 1;
}
- m_currentRange = m_tabOrder.tqat( m_currentTabStop ) ->ranges.tqat( 0 );
+ m_currentRange = m_tabOrder.at( m_currentTabStop ) ->ranges.at( 0 );
- if ( m_tabOrder.tqat( m_currentTabStop ) ->isInitialValue )
+ if ( m_tabOrder.at( m_currentTabStop ) ->isInitialValue )
{
m_doc->activeView()->setSelection( m_currentRange->start(), m_currentRange->end() );
}