diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:57:02 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-02 19:04:59 +0200 |
commit | 41b1d53a0144afe4c31425c18af25c2d6ade881b (patch) | |
tree | 4bf4a434c5db64325f317e56cc9d8d2a729df3e4 /kate/part/kateautoindent.cpp | |
parent | e2867c1f1eec514d56386f2fc5350eaaf760532a (diff) | |
download | tdelibs-41b1d53a0144afe4c31425c18af25c2d6ade881b.tar.gz tdelibs-41b1d53a0144afe4c31425c18af25c2d6ade881b.zip |
Remove additional unneeded tq method conversions
(cherry picked from commit a51cd9949c4e6c726a84a61de3cfadd30cefb5c7)
Diffstat (limited to 'kate/part/kateautoindent.cpp')
-rw-r--r-- | kate/part/kateautoindent.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kate/part/kateautoindent.cpp b/kate/part/kateautoindent.cpp index 4d36f5918..16a1627a7 100644 --- a/kate/part/kateautoindent.cpp +++ b/kate/part/kateautoindent.cpp @@ -223,7 +223,7 @@ void KateNormalIndent::updateConfig () for (uint i=0; i<items.count(); i++) { - TQString name = items.tqat(i)->name; + TQString name = items.at(i)->name; if (name.find("Comment") != -1 && commentAttrib == 255) { commentAttrib = i; @@ -1411,7 +1411,7 @@ void KateXmlIndent::getLineInfo (uint line, uint &prevIndent, int &numTags, uint pos, len = text.length(); bool seenOpen = false; for(pos = 0; pos < len; ++pos) { - int ch = text.tqat(pos).tqunicode(); + int ch = text.at(pos).tqunicode(); switch(ch) { case '<': seenOpen = true; @@ -1467,11 +1467,11 @@ void KateXmlIndent::getLineInfo (uint line, uint &prevIndent, int &numTags, if(unclosedTag) { // find the start of the next attribute, so we can align with it do { - lastCh = text.tqat(++attrCol).tqunicode(); + lastCh = text.at(++attrCol).tqunicode(); }while(lastCh && lastCh != ' ' && lastCh != '\t'); while(lastCh == ' ' || lastCh == '\t') { - lastCh = text.tqat(++attrCol).tqunicode(); + lastCh = text.at(++attrCol).tqunicode(); } attrCol = prevLine->cursorX(attrCol, tabWidth); @@ -2384,7 +2384,7 @@ void KateVarIndent::slotVariableChanged( const TQString &var, const TQString &va for (uint i=0; i<items.count(); i++) { - if ( items.tqat(i)->name.section( ':', 1 ) == val ) + if ( items.at(i)->name.section( ':', 1 ) == val ) { d->coupleAttrib = i; break; |