summaryrefslogtreecommitdiffstats
path: root/kget/kget_plug_in/kget_plug_in.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kget/kget_plug_in/kget_plug_in.cpp')
-rw-r--r--kget/kget_plug_in/kget_plug_in.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kget/kget_plug_in/kget_plug_in.cpp b/kget/kget_plug_in/kget_plug_in.cpp
index edb90655..c8e5ccf2 100644
--- a/kget/kget_plug_in/kget_plug_in.cpp
+++ b/kget/kget_plug_in/kget_plug_in.cpp
@@ -104,16 +104,16 @@ void KGet_plug_in::slotShowDrop()
void KGet_plug_in::slotShowLinks()
{
- if ( !parent() || !parent()->inherits( "KHTMLPart" ) )
+ if ( !parent() || !parent()->inherits( "TDEHTMLPart" ) )
return;
- KHTMLPart *htmlPart = static_cast<KHTMLPart*>( parent() );
+ TDEHTMLPart *htmlPart = static_cast<TDEHTMLPart*>( parent() );
KParts::Part *activePart = 0L;
if ( htmlPart->partManager() )
{
activePart = htmlPart->partManager()->activePart();
- if ( activePart && activePart->inherits( "KHTMLPart" ) )
- htmlPart = static_cast<KHTMLPart*>( activePart );
+ if ( activePart && activePart->inherits( "TDEHTMLPart" ) )
+ htmlPart = static_cast<TDEHTMLPart*>( activePart );
}
DOM::HTMLDocument doc = htmlPart->htmlDocument();