summaryrefslogtreecommitdiffstats
path: root/khtml/html/html_baseimpl.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/html/html_baseimpl.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/html/html_baseimpl.cpp')
-rw-r--r--khtml/html/html_baseimpl.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/khtml/html/html_baseimpl.cpp b/khtml/html/html_baseimpl.cpp
index babbac76d..9ebe26242 100644
--- a/khtml/html/html_baseimpl.cpp
+++ b/khtml/html/html_baseimpl.cpp
@@ -72,7 +72,7 @@ void HTMLBodyElementImpl::parseAttribute(AttributeImpl *attr)
case ATTR_BACKGROUND:
{
- QString url = khtml::parseURL( attr->value() ).string();
+ TQString url = khtml::parseURL( attr->value() ).string();
if (!url.isEmpty()) {
url = getDocument()->completeURL( url );
addCSSProperty(CSS_PROP_BACKGROUND_IMAGE, "url('"+url+"')" );
@@ -124,7 +124,7 @@ void HTMLBodyElementImpl::parseAttribute(AttributeImpl *attr)
m_styleSheet = new CSSStyleSheetImpl(this,DOMString(),true);
m_styleSheet->ref();
}
- QString aStr;
+ TQString aStr;
if ( attr->id() == ATTR_LINK )
aStr = "a:link";
else if ( attr->id() == ATTR_VLINK )
@@ -187,13 +187,13 @@ void HTMLBodyElementImpl::insertedIntoDocument()
KHTMLView* w = getDocument()->view();
if(w && w->marginWidth() != -1) {
- QString s;
+ TQString s;
s.sprintf( "%d", w->marginWidth() );
addCSSLength(CSS_PROP_MARGIN_LEFT, s);
addCSSLength(CSS_PROP_MARGIN_RIGHT, s);
}
if(w && w->marginHeight() != -1) {
- QString s;
+ TQString s;
s.sprintf( "%d", w->marginHeight() );
addCSSLength(CSS_PROP_MARGIN_TOP, s);
addCSSLength(CSS_PROP_MARGIN_BOTTOM, s);
@@ -244,7 +244,7 @@ HTMLFrameElementImpl::HTMLFrameElementImpl(DocumentImpl *doc)
frameBorderSet = false;
marginWidth = -1;
marginHeight = -1;
- scrolling = QScrollView::Auto;
+ scrolling = TQScrollView::Auto;
noresize = false;
url = "about:blank";
}
@@ -286,11 +286,11 @@ void HTMLFrameElementImpl::parseAttribute(AttributeImpl *attr)
break;
case ATTR_SCROLLING:
if( strcasecmp( attr->value(), "auto" ) == 0 )
- scrolling = QScrollView::Auto;
+ scrolling = TQScrollView::Auto;
else if( strcasecmp( attr->value(), "yes" ) == 0 )
- scrolling = QScrollView::AlwaysOn;
+ scrolling = TQScrollView::AlwaysOn;
else if( strcasecmp( attr->value(), "no" ) == 0 )
- scrolling = QScrollView::AlwaysOff;
+ scrolling = TQScrollView::AlwaysOff;
// when attached, has no effect
break;
case ATTR_ONLOAD: