diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 04:12:51 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 04:12:51 +0000 |
commit | 560378aaca1784ba19806a0414a32b20c744de39 (patch) | |
tree | ce0dfd7c3febf2a1adc7603d1019a8be2083c415 /khtml/css/css_base.cpp | |
parent | d4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d (diff) | |
download | tdelibs-560378aaca1784ba19806a0414a32b20c744de39.tar.gz tdelibs-560378aaca1784ba19806a0414a32b20c744de39.zip |
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'khtml/css/css_base.cpp')
-rw-r--r-- | khtml/css/css_base.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/khtml/css/css_base.cpp b/khtml/css/css_base.cpp index 5af37b9b9..2ffbbb0a4 100644 --- a/khtml/css/css_base.cpp +++ b/khtml/css/css_base.cpp @@ -56,9 +56,9 @@ StyleSheetImpl* StyleBaseImpl::stylesheet() KURL StyleBaseImpl::baseURL() { - // try to find the style sheet. If found look for its url. + // try to tqfind the style sheet. If found look for its url. // If it has none, look for the parentsheet, or the parentNode and - // try to find out about their url + // try to tqfind out about their url StyleSheetImpl *sheet = stylesheet(); @@ -67,7 +67,7 @@ KURL StyleBaseImpl::baseURL() if(!sheet->href().isNull()) return KURL( sheet->href().string() ); - // find parent + // tqfind parent if(sheet->parent()) return sheet->parent()->baseURL(); if(!sheet->ownerNode()) return KURL(); @@ -172,7 +172,7 @@ void CSSSelector::extractPseudoType() const value = value.lower(); switch (value[0]) { case '-': - if (value == "-khtml-replaced") + if (value == "-khtml-tqreplaced") _pseudoType = PseudoReplaced; else if (value == "-khtml-marker") @@ -196,7 +196,7 @@ void CSSSelector::extractPseudoType() const case 'c': if (value == "checked") _pseudoType = PseudoChecked; - else if (value == "contains(") + else if (value == "tqcontains(") _pseudoType = PseudoContains; break; case 'd': @@ -319,7 +319,7 @@ DOMString CSSSelector::selectorText() const // the original namespace prefix used. Ugh. -dwh DOMString str; const CSSSelector* cs = this; - Q_UINT16 tag = localNamePart(cs->tag); + TQ_UINT16 tag = localNamePart(cs->tag); if (tag == anyLocalName && cs->match == CSSSelector::None) str = "*"; else if (tag != anyLocalName) |