From 9c988982374089f3b1d01ce87ffc230372ebc414 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Fri, 13 Apr 2012 01:31:42 -0500 Subject: Fix inadvertent "TQ" changes. --- klinkstatus/src/engine/searchmanager.h | 4 ++-- klinkstatus/src/parser/htmlparser.cpp | 6 +++--- klinkstatus/src/parser/node.cpp | 2 +- klinkstatus/src/parser/node.h | 8 ++++---- klinkstatus/src/parser/node_impl.h | 8 ++++---- 5 files changed, 14 insertions(+), 14 deletions(-) (limited to 'klinkstatus/src') diff --git a/klinkstatus/src/engine/searchmanager.h b/klinkstatus/src/engine/searchmanager.h index 605d6823..45e662e0 100644 --- a/klinkstatus/src/engine/searchmanager.h +++ b/klinkstatus/src/engine/searchmanager.h @@ -18,8 +18,8 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#ifndef GESTOR_PESTQUISA_H -#define GESTOR_PESTQUISA_H +#ifndef GESTOR_PESQUISA_H +#define GESTOR_PESQUISA_H #include diff --git a/klinkstatus/src/parser/htmlparser.cpp b/klinkstatus/src/parser/htmlparser.cpp index 8c653c89..02cce0be 100644 --- a/klinkstatus/src/parser/htmlparser.cpp +++ b/klinkstatus/src/parser/htmlparser.cpp @@ -202,7 +202,7 @@ void HtmlParser::parseNodesOfTypeMETA() NodeMETA* node = new NodeMETA(aux[i]); nodes_.push_back(node); - if(!is_content_type_set_ && node->atributoHTTP_ETQUIV().lower() == TQString("Content-Type").lower()) { + if(!is_content_type_set_ && node->atributoHTTP_EQUIV().lower() == TQString("Content-Type").lower()) { is_content_type_set_ = true; node_META_content_type_.setNode(aux[i]); } @@ -218,7 +218,7 @@ TQString HtmlParser::findCharsetInMetaElement(TQString const& html) { NodeMETA node(metaTags[i]); - if(node.atributoHTTP_ETQUIV().lower() == TQString("Content-Type").lower()) { + if(node.atributoHTTP_EQUIV().lower() == TQString("Content-Type").lower()) { return node.charset(); } } @@ -383,7 +383,7 @@ void HtmlParser::mostra() const #endif kdDebug(23100) << nm->url() << endl - << nm->atributoHTTP_ETQUIV() << endl + << nm->atributoHTTP_EQUIV() << endl << nm->atributoNAME() << endl << nm->atributoCONTENT() << endl; } diff --git a/klinkstatus/src/parser/node.cpp b/klinkstatus/src/parser/node.cpp index 0b083761..7f6e12e4 100644 --- a/klinkstatus/src/parser/node.cpp +++ b/klinkstatus/src/parser/node.cpp @@ -166,7 +166,7 @@ void NodeLink::parseLinkLabel() void NodeMETA::parseAttributeURL() { if(attribute_http_equiv_.isEmpty()) - parseAttributeHTTP_ETQUIV(); + parseAttributeHTTP_EQUIV(); if(upperCase(attribute_http_equiv_) == "REFRESH") { diff --git a/klinkstatus/src/parser/node.h b/klinkstatus/src/parser/node.h index 31937508..5f959501 100644 --- a/klinkstatus/src/parser/node.h +++ b/klinkstatus/src/parser/node.h @@ -166,7 +166,7 @@ public: virtual TQString const& url() const; virtual const TQString& linkLabel() const; virtual bool isLink() const; - TQString const& atributoHTTP_ETQUIV() const; + TQString const& atributoHTTP_EQUIV() const; TQString const& atributoNAME() const; TQString const& atributoCONTENT() const; TQString charset() const; @@ -176,13 +176,13 @@ public: private: /** - Procura se existem os atributos HTTP-ETQUIV=Refresh e URL=... + Procura se existem os atributos HTTP-EQUIV=Refresh e URL=... Se existir considera o content do atributo URL como um link. - ex: + ex: */ void parseAttributeURL(); - void parseAttributeHTTP_ETQUIV(); + void parseAttributeHTTP_EQUIV(); void parseAttributeNAME(); void parseAttributeCONTENT(); diff --git a/klinkstatus/src/parser/node_impl.h b/klinkstatus/src/parser/node_impl.h index 658d66f6..ab94bb43 100644 --- a/klinkstatus/src/parser/node_impl.h +++ b/klinkstatus/src/parser/node_impl.h @@ -214,7 +214,7 @@ inline bool NodeMETA::isLink() const return false; } -inline TQString const& NodeMETA::atributoHTTP_ETQUIV() const +inline TQString const& NodeMETA::atributoHTTP_EQUIV() const { return attribute_http_equiv_; } @@ -237,16 +237,16 @@ inline bool NodeMETA::isRedirection() const inline void NodeMETA::parse() { - parseAttributeHTTP_ETQUIV(); + parseAttributeHTTP_EQUIV(); parseAttributeNAME(); parseAttributeCONTENT(); parseAttributeURL(); } -inline void NodeMETA::parseAttributeHTTP_ETQUIV() +inline void NodeMETA::parseAttributeHTTP_EQUIV() { - attribute_http_equiv_ = getAttribute("HTTP-ETQUIV="); + attribute_http_equiv_ = getAttribute("HTTP-EQUIV="); } inline void NodeMETA::parseAttributeNAME() -- cgit v1.2.3