summaryrefslogtreecommitdiffstats
path: root/klinkstatus/src/parser/node_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'klinkstatus/src/parser/node_impl.h')
-rw-r--r--klinkstatus/src/parser/node_impl.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/klinkstatus/src/parser/node_impl.h b/klinkstatus/src/parser/node_impl.h
index 97224bd5..f1ebed13 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_EQUIV() const
+inline TQString const& NodeMETA::atributoHTTP_ETQUIV() const
{
return attribute_http_equiv_;
}
@@ -237,16 +237,16 @@ inline bool NodeMETA::isRedirection() const
inline void NodeMETA::parse()
{
- parseAttributeHTTP_EQUIV();
+ parseAttributeHTTP_ETQUIV();
parseAttributeNAME();
parseAttributeCONTENT();
parseAttributeURL();
}
-inline void NodeMETA::parseAttributeHTTP_EQUIV()
+inline void NodeMETA::parseAttributeHTTP_ETQUIV()
{
- attribute_http_equiv_ = getAttribute("HTTP-EQUIV=");
+ attribute_http_equiv_ = getAttribute("HTTP-ETQUIV=");
}
inline void NodeMETA::parseAttributeNAME()
@@ -378,12 +378,12 @@ inline NodeTITLE::NodeTITLE(TQString const& content)
inline TQString const& NodeTITLE::url() const
{
- return TQString::null;
+ return TQString();
}
inline TQString const& NodeTITLE::linkLabel() const
{
- return TQString::null;
+ return TQString();
}
inline void NodeTITLE::parse()
@@ -404,8 +404,8 @@ inline TQString const& NodeTITLE::attributeTITLE() const
inline void NodeTITLE::parseAttributeTITLE()
{
attribute_title_ = content_;
- attribute_title_.replace("<TITLE>", "", false);
- attribute_title_.replace("</TITLE>", "", false);
+ attribute_title_.tqreplace("<TITLE>", "", false);
+ attribute_title_.tqreplace("</TITLE>", "", false);
attribute_title_.stripWhiteSpace();
//kdDebug(23100) << "TITLE: " << attribute_title_ << endl;