diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:52:34 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-04 03:25:49 +0200 |
commit | 19e67aed27e50319d00a06ae6287236db13f82f4 (patch) | |
tree | 6ab0b6ee6327f32fae59868408ef88e00d2cc2d9 /kate/xmltools/plugin_katexmltools.cpp | |
parent | 0669339d48f65fc18388faefe54b239591d4705f (diff) | |
download | tdeaddons-19e67aed27e50319d00a06ae6287236db13f82f4.tar.gz tdeaddons-19e67aed27e50319d00a06ae6287236db13f82f4.zip |
Remove additional unneeded tq method conversions
(cherry picked from commit 75112ed8e227f656f98523b7ffdad5422d9a6f11)
Diffstat (limited to 'kate/xmltools/plugin_katexmltools.cpp')
-rw-r--r-- | kate/xmltools/plugin_katexmltools.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kate/xmltools/plugin_katexmltools.cpp b/kate/xmltools/plugin_katexmltools.cpp index 734c257..f772aeb 100644 --- a/kate/xmltools/plugin_katexmltools.cpp +++ b/kate/xmltools/plugin_katexmltools.cpp @@ -466,7 +466,7 @@ void PluginKateXMLTools::getDTD() url.setFileName( defaultDir + filename ); KMessageBox::information(0, i18n("The current file has been identified " "as a document of type \"%1\". The meta DTD for this document type " - "will now be loaded.").tqarg( doctype ), + "will now be loaded.").arg( doctype ), i18n( "Loading XML Meta DTD" ), TQString::fromLatin1( "DTDAssigned") ); } @@ -503,7 +503,7 @@ void PluginKateXMLTools::slotFinished( KIO::Job *job ) { // catch failed loading loading via http: KMessageBox::error(0, i18n("The file '%1' could not be opened. " - "The server returned an error.").tqarg( m_urlString ), + "The server returned an error.").arg( m_urlString ), i18n( "XML Plugin Error") ); } else @@ -937,7 +937,7 @@ TQString PluginKateXMLTools::getParentElement( Kate::View &kv, bool ignoreSingle --col; } - ushort ch = str.tqat( col).tqunicode(); + ushort ch = str.at( col).tqunicode(); switch( parseState ) { @@ -981,7 +981,7 @@ TQString PluginKateXMLTools::getParentElement( Kate::View &kv, bool ignoreSingle TQString tag = str.mid( col + 1 ); for( uint pos = 0, len = tag.length(); pos < len; ++pos ) { - ch = tag.tqat( pos).tqunicode(); + ch = tag.at( pos).tqunicode(); if( ch == ' ' || ch == '\t' || ch == '>' ) { tag.truncate( pos ); break; |