diff options
Diffstat (limited to 'kate/xmltools/plugin_katexmltools.cpp')
-rw-r--r-- | kate/xmltools/plugin_katexmltools.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kate/xmltools/plugin_katexmltools.cpp b/kate/xmltools/plugin_katexmltools.cpp index d322282..ce53476 100644 --- a/kate/xmltools/plugin_katexmltools.cpp +++ b/kate/xmltools/plugin_katexmltools.cpp @@ -63,7 +63,7 @@ TODO: but then at <xsl:template match="/"><html> it will only show you HTML elements! =>So better "Assign meta DTD" and "Add meta DTD", the latter will expand the current meta DTD -Option to insert empty element in <empty/> form --Show expanded entities with TQChar::TQChar( int rc ) + unicode font +-Show expanded entities with TQChar::TQChar( int rc ) + tqunicode font -Don't ignore entities defined in the document's prologue -Only offer 'valid' elements, i.e. don't take the elements as a set but check if the DTD is matched ( order, number of occurences, ... ) @@ -81,7 +81,7 @@ TODO: #include <tqdatetime.h> #include <tqdom.h> #include <tqfile.h> -#include <layout.h> +#include <tqlayout.h> #include <tqlistbox.h> #include <tqprogressdialog.h> #include <tqpushbutton.h> @@ -466,9 +466,9 @@ 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.").arg( doctype ), + "will now be loaded.").tqarg( doctype ), i18n( "Loading XML Meta DTD" ), - TQString::fromLatin1( "DTDAssigned") ); + TQString::tqfromLatin1( "DTDAssigned") ); } if( url.isEmpty() ) @@ -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.").arg( m_urlString ), + "The server returned an error.").tqarg( m_urlString ), i18n( "XML Plugin Error") ); } else @@ -937,7 +937,7 @@ TQString PluginKateXMLTools::getParentElement( Kate::View &kv, bool ignoreSingle --col; } - ushort ch = str.at( col).unicode(); + ushort ch = str.tqat( 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.at( pos).unicode(); + ch = tag.tqat( pos).tqunicode(); if( ch == ' ' || ch == '\t' || ch == '>' ) { tag.truncate( pos ); break; |