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/html/html_objectimpl.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'khtml/html/html_objectimpl.cpp') diff --git a/khtml/html/html_objectimpl.cpp b/khtml/html/html_objectimpl.cpp index 8a60ba41f..106a862e9 100644 --- a/khtml/html/html_objectimpl.cpp +++ b/khtml/html/html_objectimpl.cpp @@ -26,10 +26,10 @@ #include "dom/dom_string.h" #include "misc/htmlhashes.h" #include "khtmlview.h" -#include -#include -#include -#include +#include +#include +#include +#include #include #include @@ -55,7 +55,7 @@ HTMLObjectBaseElementImpl::HTMLObjectBaseElementImpl(DocumentImpl *doc) m_renderAlternative = false; } -void HTMLObjectBaseElementImpl::setServiceType(const QString & val) { +void HTMLObjectBaseElementImpl::setServiceType(const TQString & val) { serviceType = val.lower(); int pos = serviceType.find( ";" ); if ( pos!=-1 ) @@ -70,7 +70,7 @@ void HTMLObjectBaseElementImpl::parseAttribute(AttributeImpl *attr) case ATTR_CODETYPE: if (attr->val()) { DOM::DOMStringImpl *stringImpl = attr->val(); - QString val = QConstString( stringImpl->s, stringImpl->l ).string(); + TQString val = TQConstString( stringImpl->s, stringImpl->l ).string(); setServiceType( val ); needWidgetUpdate = true; } @@ -111,13 +111,13 @@ void HTMLObjectBaseElementImpl::insertedIntoDocument() HTMLElementImpl::insertedIntoDocument(); } -void HTMLObjectBaseElementImpl::removeId(const QString& id) +void HTMLObjectBaseElementImpl::removeId(const TQString& id) { getDocument()->underDocNamedCache().remove(id, this); HTMLElementImpl::removeId(id); } -void HTMLObjectBaseElementImpl::addId (const QString& id) +void HTMLObjectBaseElementImpl::addId (const TQString& id) { getDocument()->underDocNamedCache().add(id, this); HTMLElementImpl::addId(id); @@ -136,7 +136,7 @@ void HTMLObjectBaseElementImpl::recalcStyle( StyleChange ch ) void HTMLObjectBaseElementImpl::renderAlternative() { if ( m_renderAlternative ) return; - QTimer::singleShot( 0, this, SLOT( slotRenderAlternative() ) ); + TQTimer::singleShot( 0, this, TQT_SLOT( slotRenderAlternative() ) ); } void HTMLObjectBaseElementImpl::slotRenderAlternative() @@ -421,7 +421,7 @@ DocumentImpl* HTMLObjectElementImpl::contentDocument() const { if ( !m_render ) return 0; if ( !m_render->isWidget() ) return 0; - QWidget* widget = static_cast( m_render )->widget(); + TQWidget* widget = static_cast( m_render )->widget(); if( widget && ::qt_cast( widget ) ) return static_cast( widget )->part()->xmlDocImpl(); return 0; -- cgit v1.2.3