summaryrefslogtreecommitdiffstats
path: root/khtml/xml/dom_elementimpl.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /khtml/xml/dom_elementimpl.cpp
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'khtml/xml/dom_elementimpl.cpp')
-rw-r--r--khtml/xml/dom_elementimpl.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/khtml/xml/dom_elementimpl.cpp b/khtml/xml/dom_elementimpl.cpp
index 5db497e7d..c41bef3dc 100644
--- a/khtml/xml/dom_elementimpl.cpp
+++ b/khtml/xml/dom_elementimpl.cpp
@@ -46,7 +46,7 @@
#include "css/cssproperties.h"
#include "xml/dom_xmlimpl.h"
-#include <qtextstream.h>
+#include <tqtextstream.h>
#include <kdebug.h>
#include <stdlib.h>
@@ -746,12 +746,12 @@ void ElementImpl::updateId(DOMStringImpl* oldId, DOMStringImpl* newId)
addId(DOMString(newId).string());
}
-void ElementImpl::removeId(const QString& id)
+void ElementImpl::removeId(const TQString& id)
{
getDocument()->getElementByIdCache().remove(id, this);
}
-void ElementImpl::addId(const QString& id)
+void ElementImpl::addId(const TQString& id)
{
getDocument()->getElementByIdCache().add(id, this);
}
@@ -805,7 +805,7 @@ DOMString ElementImpl::openTagStartToString(bool expandurls) const
//We need to sanitize the urls - strip out the passwords.
//FIXME: are src= and href= the only places that might have a password and need to be sanitized?
KURL safeURL(getDocument()->completeURL(attribute->value().string()));
- safeURL.setPass(QString::null);
+ safeURL.setPass(TQString::null);
result += safeURL.htmlURL();
}
else {
@@ -848,14 +848,14 @@ DOMString ElementImpl::selectionToString(NodeImpl *selectionStart, NodeImpl *sel
DOMString ElementImpl::toString() const
{
- QString result = openTagStartToString().string(); //Accumulate in QString, since DOMString can't append well.
+ TQString result = openTagStartToString().string(); //Accumulate in TQString, since DOMString can't append well.
if (hasChildNodes()) {
result += ">";
for (NodeImpl *child = firstChild(); child != NULL; child = child->nextSibling()) {
DOMString kid = child->toString();
- result += QConstString(kid.unicode(), kid.length()).string();
+ result += TQConstString(kid.unicode(), kid.length()).string();
}
result += "</";