diff options
Diffstat (limited to 'kget/kget_plug_in')
-rw-r--r-- | kget/kget_plug_in/Makefile.am | 2 | ||||
-rw-r--r-- | kget/kget_plug_in/kget_plug_in.cpp | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/kget/kget_plug_in/Makefile.am b/kget/kget_plug_in/Makefile.am index d067473d..cff33984 100644 --- a/kget/kget_plug_in/Makefile.am +++ b/kget/kget_plug_in/Makefile.am @@ -4,7 +4,7 @@ kde_module_LTLIBRARIES = tdehtml_kget.la tdehtml_kget_la_METASOURCES = AUTO tdehtml_kget_la_SOURCES = kget_plug_in.cpp kget_linkview.cpp links.cpp -tdehtml_kget_la_LIBADD = $(LIB_KHTML) +tdehtml_kget_la_LIBADD = $(LIB_TDEHTML) tdehtml_kget_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor $(LIB_KPARTS) KDE_ICON = AUTO 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(); |