From e985f7e545f4739493965aad69bbecb136dc9346 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 16 Jun 2011 19:02:47 +0000 Subject: 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 --- klinkstatus/src/parser/node_impl.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'klinkstatus/src/parser/node_impl.h') 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("", "", false); - attribute_title_.replace("", "", false); + attribute_title_.tqreplace("", "", false); + attribute_title_.tqreplace("", "", false); attribute_title_.stripWhiteSpace(); //kdDebug(23100) << "TITLE: " << attribute_title_ << endl; -- cgit v1.2.1