summaryrefslogtreecommitdiffstats
path: root/khtml/dom/dom_element.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/dom/dom_element.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/dom/dom_element.cpp')
-rw-r--r--khtml/dom/dom_element.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/khtml/dom/dom_element.cpp b/khtml/dom/dom_element.cpp
index 77a9b9e4b..54c322e25 100644
--- a/khtml/dom/dom_element.cpp
+++ b/khtml/dom/dom_element.cpp
@@ -369,7 +369,7 @@ bool Element::khtmlValidAttrName(const DOMString &name)
// Check if name is valid
// http://www.w3.org/TR/2000/REC-xml-20001006#NT-Name
DOMStringImpl* _name = name.implementation();
- QChar ch = _name->s[0];
+ TQChar ch = _name->s[0];
if ( !ch.isLetter() && ch != '_' && ch != ':' )
return false; // first char isn't valid
for ( uint i = 0; i < _name->l; ++i )
@@ -377,7 +377,7 @@ bool Element::khtmlValidAttrName(const DOMString &name)
ch = _name->s[i];
if ( !ch.isLetter() && !ch.isDigit() && ch != '.'
&& ch != '-' && ch != '_' && ch != ':'
- && ch.category() != QChar::Mark_SpacingCombining
+ && ch.category() != TQChar::Mark_SpacingCombining
/* no idea what "extender is" */ )
return false;
}