From ffe8a83e053396df448e9413828527613ca3bd46 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:46:43 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- khtml/dom/dom_element.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'khtml/dom/dom_element.cpp') 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; } -- cgit v1.2.1