diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 04:12:51 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 04:12:51 +0000 |
commit | 560378aaca1784ba19806a0414a32b20c744de39 (patch) | |
tree | ce0dfd7c3febf2a1adc7603d1019a8be2083c415 /khtml/rendering/render_applet.cpp | |
parent | d4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d (diff) | |
download | tdelibs-560378aaca1784ba19806a0414a32b20c744de39.tar.gz tdelibs-560378aaca1784ba19806a0414a32b20c744de39.zip |
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'khtml/rendering/render_applet.cpp')
-rw-r--r-- | khtml/rendering/render_applet.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/khtml/rendering/render_applet.cpp b/khtml/rendering/render_applet.cpp index fce22f7c8..ad0d787df 100644 --- a/khtml/rendering/render_applet.cpp +++ b/khtml/rendering/render_applet.cpp @@ -70,7 +70,7 @@ short RenderApplet::intrinsicWidth() const int rval = 300; if( m_widget ) - rval = ((KJavaAppletWidget*)(m_widget))->sizeHint().width(); + rval = ((KJavaAppletWidget*)(m_widget))->tqsizeHint().width(); return rval > 10 ? rval : 50; } @@ -80,14 +80,14 @@ int RenderApplet::intrinsicHeight() const int rval = 150; if( m_widget ) - rval = m_widget->sizeHint().height(); + rval = m_widget->tqsizeHint().height(); return rval > 10 ? rval : 50; } -void RenderApplet::layout() +void RenderApplet::tqlayout() { - //kdDebug(6100) << "RenderApplet::layout" << endl; + //kdDebug(6100) << "RenderApplet::tqlayout" << endl; KHTMLAssert( needsLayout() ); KHTMLAssert( minMaxKnown() ); @@ -123,22 +123,22 @@ void RenderApplet::processArguments(const TQMap<TQString, TQString> &args) KJavaApplet* applet = w ? w->applet() : 0; if ( applet ) { - applet->setBaseURL( args[TQString::fromLatin1("baseURL") ] ); - applet->setAppletClass( args[TQString::fromLatin1("code") ] ); + applet->setBaseURL( args[TQString::tqfromLatin1("baseURL") ] ); + applet->setAppletClass( args[TQString::tqfromLatin1("code") ] ); - TQString str = args[TQString::fromLatin1("codeBase") ]; + TQString str = args[TQString::tqfromLatin1("codeBase") ]; if( !str.isEmpty() ) applet->setCodeBase( str ); - str = args[TQString::fromLatin1("name") ]; + str = args[TQString::tqfromLatin1("name") ]; if( !str.isNull() ) applet->setAppletName( str ); else - applet->setAppletName( args[TQString::fromLatin1("code") ] ); + applet->setAppletName( args[TQString::tqfromLatin1("code") ] ); - str = args[TQString::fromLatin1("archive") ]; + str = args[TQString::tqfromLatin1("archive") ]; if( !str.isEmpty() ) - applet->setArchives( args[TQString::fromLatin1("archive") ] ); + applet->setArchives( args[TQString::tqfromLatin1("archive") ] ); } } |