diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-13 08:32:36 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-13 08:32:36 +0000 |
commit | f7e71d47719ab6094cf4a9fafffa5ea351973522 (patch) | |
tree | 30834aa632d442019e14f88685001d94657d060b /khtml/rendering/render_applet.cpp | |
parent | b31cfd9a1ee986fe2ae9a693f3afd7f171dd897c (diff) | |
download | tdelibs-f7e71d47719ab6094cf4a9fafffa5ea351973522.tar.gz tdelibs-f7e71d47719ab6094cf4a9fafffa5ea351973522.zip |
Initial conversion for TQt for Qt4 3.4.0 TP2
This will also compile with TQt for Qt3, and should not cause any problems
with dependent modules such as kdebase. If it does then it needs to be fixed!
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1214149 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'khtml/rendering/render_applet.cpp')
-rw-r--r-- | khtml/rendering/render_applet.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/khtml/rendering/render_applet.cpp b/khtml/rendering/render_applet.cpp index fce22f7c8..3bf373f73 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,7 +80,7 @@ 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; } @@ -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") ] ); } } |