summaryrefslogtreecommitdiffstats
path: root/klinkstatus/src
diff options
context:
space:
mode:
authorDarrell Anderson <[email protected]>2012-04-13 01:31:42 -0500
committerDarrell Anderson <[email protected]>2012-04-13 01:31:42 -0500
commit9c988982374089f3b1d01ce87ffc230372ebc414 (patch)
treeab8eb75c7639721ae915d7f3c8003c5983ad5494 /klinkstatus/src
parent3c24a111d5294897b164000ad6399ba131dd5c3a (diff)
downloadtdewebdev-9c988982374089f3b1d01ce87ffc230372ebc414.tar.gz
tdewebdev-9c988982374089f3b1d01ce87ffc230372ebc414.zip
Fix inadvertent "TQ" changes.
Diffstat (limited to 'klinkstatus/src')
-rw-r--r--klinkstatus/src/engine/searchmanager.h4
-rw-r--r--klinkstatus/src/parser/htmlparser.cpp6
-rw-r--r--klinkstatus/src/parser/node.cpp2
-rw-r--r--klinkstatus/src/parser/node.h8
-rw-r--r--klinkstatus/src/parser/node_impl.h8
5 files changed, 14 insertions, 14 deletions
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 <kurl.h>
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: <META HTTP-ETQUIV=Refresh CONTENT="10; URL=http://www.htmlhelp.com/">
+ ex: <META HTTP-EQUIV=Refresh CONTENT="10; URL=http://www.htmlhelp.com/">
*/
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()