summaryrefslogtreecommitdiffstats
path: root/klinkstatus/src/parser/node_impl.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:02:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:02:47 +0000
commite985f7e545f4739493965aad69bbecb136dc9346 (patch)
tree54afd409d8acd6202dd8ab611d24e78c28e4c0a0 /klinkstatus/src/parser/node_impl.h
parentf7670c198945adc3b95ad69a959fe5f8ae55b493 (diff)
downloadtdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.tar.gz
tdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.zip
TQt4 port kdewebdev
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1237029 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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;