summaryrefslogtreecommitdiffstats
path: root/klinkstatus/src/parser/node_impl.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
commitdc6b8e72fed2586239e3514819238c520636c9d9 (patch)
tree88b200df0a0b7fab9d6f147596173556f1ed9a13 /klinkstatus/src/parser/node_impl.h
parent6927d4436e54551917f600b706a8d6109e49de1c (diff)
downloadtdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.tar.gz
tdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1157656 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'klinkstatus/src/parser/node_impl.h')
-rw-r--r--klinkstatus/src/parser/node_impl.h64
1 files changed, 32 insertions, 32 deletions
diff --git a/klinkstatus/src/parser/node_impl.h b/klinkstatus/src/parser/node_impl.h
index 51249075..97224bd5 100644
--- a/klinkstatus/src/parser/node_impl.h
+++ b/klinkstatus/src/parser/node_impl.h
@@ -27,17 +27,17 @@ inline Node::~Node()
//kdDebug(23100) << "/";
}
-inline Node::Node(QString const& content)
+inline Node::Node(TQString const& content)
: content_(content), is_redirection_(false), malformed_(false)
{}
-inline void Node::setNode(QString const& content)
+inline void Node::setNode(TQString const& content)
{
content_ = content;
parse();
}
-inline QString const& Node::content() const
+inline TQString const& Node::content() const
{
return content_;
}
@@ -78,7 +78,7 @@ inline NodeLink::NodeLink()
: Node()
{}
-inline NodeLink::NodeLink(QString const& content)
+inline NodeLink::NodeLink(TQString const& content)
: Node(content)
{
parse();
@@ -89,21 +89,21 @@ inline void NodeLink::parse()
parseAttributeHREF();
}
-inline QString const& NodeLink::url() const
+inline TQString const& NodeLink::url() const
{
return attribute_href_;
}
-inline QString const& NodeLink::linkLabel() const
+inline TQString const& NodeLink::linkLabel() const
{
return link_label_;
}
-inline QString NodeLink::mailto() const
+inline TQString NodeLink::mailto() const
{
Q_ASSERT(linktype_ == Node::mailto);
- QString href = KCharsets::resolveEntities(attribute_href_);
+ TQString href = KCharsets::resolveEntities(attribute_href_);
int inicio = findWord(href, "MAILTO:");
Q_ASSERT(inicio != -1);
@@ -121,14 +121,14 @@ inline bool NodeLink::isLink() const
// class NodeA_______________________________________________________
-inline NodeA::NodeA(QString const& content)
+inline NodeA::NodeA(TQString const& content)
: NodeLink(content)
{
element_ = A;
parse();
}
-inline QString const& NodeA::attributeNAME() const
+inline TQString const& NodeA::attributeNAME() const
{
return attribute_name_;
}
@@ -146,14 +146,14 @@ inline void NodeA::parseAttributeNAME()
// class NodeAREA_______________________________________________________
-inline NodeAREA::NodeAREA(QString const& content)
+inline NodeAREA::NodeAREA(TQString const& content)
: NodeLink(content)
{
element_ = AREA;
parse();
}
-inline QString const& NodeAREA::attributeTITLE() const
+inline TQString const& NodeAREA::attributeTITLE() const
{
return attribute_title_;
}
@@ -171,7 +171,7 @@ inline void NodeAREA::parseAttributeTITLE()
// class NodeLINK________________________________________
-inline NodeLINK::NodeLINK(QString const& content)
+inline NodeLINK::NodeLINK(TQString const& content)
: NodeLink(content)
{
element_ = LINK;
@@ -185,19 +185,19 @@ inline NodeMETA::NodeMETA()
element_ = META;
}
-inline NodeMETA::NodeMETA(QString const& content)
+inline NodeMETA::NodeMETA(TQString const& content)
: Node(content)
{
element_ = META;
parse();
}
-inline QString const& NodeMETA::url() const
+inline TQString const& NodeMETA::url() const
{
return attribute_url_;
}
-inline const QString& NodeMETA::linkLabel() const
+inline const TQString& NodeMETA::linkLabel() const
{
return link_label_;
}
@@ -214,17 +214,17 @@ inline bool NodeMETA::isLink() const
return false;
}
-inline QString const& NodeMETA::atributoHTTP_EQUIV() const
+inline TQString const& NodeMETA::atributoHTTP_EQUIV() const
{
return attribute_http_equiv_;
}
-inline QString const& NodeMETA::atributoNAME() const
+inline TQString const& NodeMETA::atributoNAME() const
{
return attribute_name_;
}
-inline QString const& NodeMETA::atributoCONTENT() const
+inline TQString const& NodeMETA::atributoCONTENT() const
{
return attribute_content_;
}
@@ -263,7 +263,7 @@ inline void NodeMETA::parseAttributeCONTENT()
// class NodeIMG________________________________________
-inline NodeIMG::NodeIMG(QString const& content)
+inline NodeIMG::NodeIMG(TQString const& content)
: Node(content)
{
element_ = IMG;
@@ -277,12 +277,12 @@ inline void NodeIMG::parse()
parseAttributeALT();
}
-inline QString const& NodeIMG::url() const
+inline TQString const& NodeIMG::url() const
{
return attribute_src_;
}
-inline QString const& NodeIMG::linkLabel() const
+inline TQString const& NodeIMG::linkLabel() const
{
if(!attribute_title_.isEmpty())
return attribute_title_;
@@ -311,7 +311,7 @@ inline void NodeIMG::parseAttributeALT()
// class NodeFRAME________________________________________
-inline NodeFRAME::NodeFRAME(QString const& content)
+inline NodeFRAME::NodeFRAME(TQString const& content)
: Node(content)
{
element_ = FRAME;
@@ -323,12 +323,12 @@ inline void NodeFRAME::parse()
parseAttributeSRC();
}
-inline QString const& NodeFRAME::url() const
+inline TQString const& NodeFRAME::url() const
{
return attribute_src_;
}
-inline QString const& NodeFRAME::linkLabel() const
+inline TQString const& NodeFRAME::linkLabel() const
{
return link_label_;
}
@@ -349,7 +349,7 @@ inline NodeBASE::NodeBASE()
element_ = BASE;
}
-inline NodeBASE::NodeBASE(QString const& content)
+inline NodeBASE::NodeBASE(TQString const& content)
: NodeLink(content)
{
element_ = BASE;
@@ -369,21 +369,21 @@ inline NodeTITLE::NodeTITLE()
parse();
}
-inline NodeTITLE::NodeTITLE(QString const& content)
+inline NodeTITLE::NodeTITLE(TQString const& content)
: Node(content)
{
element_ = TITLE;
parse();
}
-inline QString const& NodeTITLE::url() const
+inline TQString const& NodeTITLE::url() const
{
- return QString::null;
+ return TQString::null;
}
-inline QString const& NodeTITLE::linkLabel() const
+inline TQString const& NodeTITLE::linkLabel() const
{
- return QString::null;
+ return TQString::null;
}
inline void NodeTITLE::parse()
@@ -396,7 +396,7 @@ inline bool NodeTITLE::isLink() const
return false;
}
-inline QString const& NodeTITLE::attributeTITLE() const
+inline TQString const& NodeTITLE::attributeTITLE() const
{
return attribute_title_;
}