summaryrefslogtreecommitdiffstats
path: root/khtml/css/css_base.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'khtml/css/css_base.cpp')
-rw-r--r--khtml/css/css_base.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/khtml/css/css_base.cpp b/khtml/css/css_base.cpp
index 2ffbbb0a4..5af37b9b9 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 tqfind the style sheet. If found look for its url.
+ // try to find the style sheet. If found look for its url.
// If it has none, look for the parentsheet, or the parentNode and
- // try to tqfind out about their url
+ // try to find out about their url
StyleSheetImpl *sheet = stylesheet();
@@ -67,7 +67,7 @@ KURL StyleBaseImpl::baseURL()
if(!sheet->href().isNull())
return KURL( sheet->href().string() );
- // tqfind parent
+ // find 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-tqreplaced")
+ if (value == "-khtml-replaced")
_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 == "tqcontains(")
+ else if (value == "contains(")
_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;
- TQ_UINT16 tag = localNamePart(cs->tag);
+ Q_UINT16 tag = localNamePart(cs->tag);
if (tag == anyLocalName && cs->match == CSSSelector::None)
str = "*";
else if (tag != anyLocalName)