diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-27 21:04:23 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-27 21:04:23 -0600 |
commit | 4140fee92e2293c37a8e9aa8f21254dc66433a0a (patch) | |
tree | e34af01d770eb757086498062850842e7b525bd3 /kget/kget_plug_in | |
parent | 44c26994c9087200cf941f08df9f77b553a1365e (diff) | |
download | tdenetwork-4140fee92e2293c37a8e9aa8f21254dc66433a0a.tar.gz tdenetwork-4140fee92e2293c37a8e9aa8f21254dc66433a0a.zip |
Rename kiobuffer and KHTML
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(); |