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/rendering/render_applet.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'khtml/rendering/render_applet.cpp') diff --git a/khtml/rendering/render_applet.cpp b/khtml/rendering/render_applet.cpp index f6ce1ebab..fce22f7c8 100644 --- a/khtml/rendering/render_applet.cpp +++ b/khtml/rendering/render_applet.cpp @@ -30,7 +30,7 @@ #include "khtmlview.h" #include "khtml_part.h" -#include +#include #ifndef Q_WS_QWS // We don't have Java in Qt Embedded @@ -41,7 +41,7 @@ using namespace khtml; using namespace DOM; -RenderApplet::RenderApplet(HTMLElementImpl *applet, const QMap &args ) +RenderApplet::RenderApplet(HTMLElementImpl *applet, const TQMap &args ) : RenderWidget(applet) { // init RenderObject attributes @@ -55,7 +55,7 @@ RenderApplet::RenderApplet(HTMLElementImpl *applet, const QMap } if ( context ) { - //kdDebug(6100) << "RenderApplet::RenderApplet, setting QWidget" << endl; + //kdDebug(6100) << "RenderApplet::RenderApplet, setting TQWidget" << endl; setQWidget( new KJavaAppletWidget(context, _view->viewport()) ); processArguments(args); } @@ -117,28 +117,28 @@ void RenderApplet::layout() setNeedsLayout(false); } -void RenderApplet::processArguments(const QMap &args) +void RenderApplet::processArguments(const TQMap &args) { KJavaAppletWidget *w = static_cast(m_widget); KJavaApplet* applet = w ? w->applet() : 0; if ( applet ) { - applet->setBaseURL( args[QString::fromLatin1("baseURL") ] ); - applet->setAppletClass( args[QString::fromLatin1("code") ] ); + applet->setBaseURL( args[TQString::fromLatin1("baseURL") ] ); + applet->setAppletClass( args[TQString::fromLatin1("code") ] ); - QString str = args[QString::fromLatin1("codeBase") ]; + TQString str = args[TQString::fromLatin1("codeBase") ]; if( !str.isEmpty() ) applet->setCodeBase( str ); - str = args[QString::fromLatin1("name") ]; + str = args[TQString::fromLatin1("name") ]; if( !str.isNull() ) applet->setAppletName( str ); else - applet->setAppletName( args[QString::fromLatin1("code") ] ); + applet->setAppletName( args[TQString::fromLatin1("code") ] ); - str = args[QString::fromLatin1("archive") ]; + str = args[TQString::fromLatin1("archive") ]; if( !str.isEmpty() ) - applet->setArchives( args[QString::fromLatin1("archive") ] ); + applet->setArchives( args[TQString::fromLatin1("archive") ] ); } } -- cgit v1.2.1