summaryrefslogtreecommitdiffstats
path: root/khtml/css/parser.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/css/parser.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/css/parser.cpp')
-rw-r--r--khtml/css/parser.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/khtml/css/parser.cpp b/khtml/css/parser.cpp
index 57275190c..c0e6f5869 100644
--- a/khtml/css/parser.cpp
+++ b/khtml/css/parser.cpp
@@ -264,7 +264,7 @@ static inline int getValueID(const char *tagStr, int len)
typedef union YYSTYPE {
CSSRuleImpl *rule;
CSSSelector *selector;
- QPtrList<CSSSelector> *selectorList;
+ TQPtrList<CSSSelector> *selectorList;
bool ok;
MediaListImpl *mediaList;
CSSMediaRuleImpl *mediaRule;
@@ -1862,7 +1862,7 @@ yyreduce:
{
if ( yyvsp[0].selector ) {
- yyval.selectorList = new QPtrList<CSSSelector>;
+ yyval.selectorList = new TQPtrList<CSSSelector>;
yyval.selectorList->setAutoDelete( true );
#ifdef CSS_DEBUG
kdDebug( 6080 ) << " got simple selector:" << endl;
@@ -2019,7 +2019,7 @@ yyreduce:
{
CSSParser *p = static_cast<CSSParser *>(parser);
DOM::DocumentImpl *doc = p->document();
- QString tag = qString(yyvsp[0].string);
+ TQString tag = qString(yyvsp[0].string);
if ( doc ) {
if (doc->isHTMLDocument())
tag = tag.lower();
@@ -2097,7 +2097,7 @@ yyreduce:
CSSParser *p = static_cast<CSSParser *>(parser);
DOM::DocumentImpl *doc = p->document();
- QString attr = qString(yyvsp[-1].string);
+ TQString attr = qString(yyvsp[-1].string);
if ( doc ) {
if (doc->isHTMLDocument())
attr = attr.lower();
@@ -2235,7 +2235,7 @@ yyreduce:
{
yyval.selector = new CSSSelector();
yyval.selector->match = CSSSelector::PseudoClass;
- yyval.selector->string_arg = QString::number(yyvsp[-1].val);
+ yyval.selector->string_arg = TQString::number(yyvsp[-1].val);
yyval.selector->value = domString(yyvsp[-2].string);
;}
break;
@@ -2373,7 +2373,7 @@ yyreduce:
case 117:
{
- QString str = qString(yyvsp[-1].string);
+ TQString str = qString(yyvsp[-1].string);
yyval.prop_id = getPropertyID( str.lower().latin1(), str.length() );
;}
break;
@@ -2457,7 +2457,7 @@ yyreduce:
case 129:
{
- QString str = qString( yyvsp[-1].string );
+ TQString str = qString( yyvsp[-1].string );
yyval.value.id = getValueID( str.lower().latin1(), str.length() );
yyval.value.unit = CSSPrimitiveValue::CSS_IDENT;
yyval.value.string = yyvsp[-1].string;