summaryrefslogtreecommitdiffstats
path: root/khtml/html/html_objectimpl.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_objectimpl.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_objectimpl.cpp')
-rw-r--r--khtml/html/html_objectimpl.cpp20
1 files changed, 10 insertions, 10 deletions
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 <qstring.h>
-#include <qvariant.h>
-#include <qmap.h>
-#include <qtimer.h>
+#include <tqstring.h>
+#include <tqvariant.h>
+#include <tqmap.h>
+#include <tqtimer.h>
#include <kdebug.h>
#include <kimageio.h>
@@ -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<RenderWidget*>( m_render )->widget();
+ TQWidget* widget = static_cast<RenderWidget*>( m_render )->widget();
if( widget && ::qt_cast<KHTMLView*>( widget ) )
return static_cast<KHTMLView*>( widget )->part()->xmlDocImpl();
return 0;