diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-27 21:01:57 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-27 21:01:57 -0600 |
commit | a5a7573f3597f76e3cf9ebfb5a38416906289ff3 (patch) | |
tree | beabf7411b6bfeb386bea8016fa48eebf61db192 /konq-plugins/adblock | |
parent | f21b0182707822a0aeaedd00578eb18ce191c47d (diff) | |
download | tdeaddons-a5a7573f3597f76e3cf9ebfb5a38416906289ff3.tar.gz tdeaddons-a5a7573f3597f76e3cf9ebfb5a38416906289ff3.zip |
Rename kiobuffer and KHTML
Diffstat (limited to 'konq-plugins/adblock')
-rw-r--r-- | konq-plugins/adblock/Makefile.am | 2 | ||||
-rw-r--r-- | konq-plugins/adblock/adblock.cpp | 8 | ||||
-rw-r--r-- | konq-plugins/adblock/adblock.h | 6 |
3 files changed, 8 insertions, 8 deletions
diff --git a/konq-plugins/adblock/Makefile.am b/konq-plugins/adblock/Makefile.am index da54f2b..3e7156d 100644 --- a/konq-plugins/adblock/Makefile.am +++ b/konq-plugins/adblock/Makefile.am @@ -5,7 +5,7 @@ METASOURCES = AUTO kde_module_LTLIBRARIES = libadblock.la libadblock_la_SOURCES = adblock.cpp adblockdialogue.cpp -libadblock_la_LIBADD = $(LIB_KHTML) -lkonq +libadblock_la_LIBADD = $(LIB_TDEHTML) -lkonq libadblock_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) pluginsdir = $(kde_datadir)/tdehtml/kpartplugins diff --git a/konq-plugins/adblock/adblock.cpp b/konq-plugins/adblock/adblock.cpp index d62eae5..07dbede 100644 --- a/konq-plugins/adblock/adblock.cpp +++ b/konq-plugins/adblock/adblock.cpp @@ -60,8 +60,8 @@ AdBlock::AdBlock(TQObject *parent, const char *name, const TQStringList &) : KParts::Plugin(parent, name), m_label(0), m_menu(0) { - m_part = dynamic_cast<KHTMLPart *>(parent); - if(!m_part) { kdDebug() << "couldn't get KHTMLPart" << endl; return; } + m_part = dynamic_cast<TDEHTMLPart *>(parent); + if(!m_part) { kdDebug() << "couldn't get TDEHTMLPart" << endl; return; } m_menu = new KPopupMenu(m_part->widget()); m_menu->insertTitle(i18n("Adblock")); @@ -147,7 +147,7 @@ void AdBlock::fillBlockableElements(AdElementList &elements) fillWithHtmlTag(elements, "object", "src", "OBJECT"); fillWithImages(elements); - const KHTMLSettings *settings = m_part->settings(); + const TDEHTMLSettings *settings = m_part->settings(); AdElementList::iterator it; for ( it = elements.begin(); it != elements.end(); ++it ) @@ -212,7 +212,7 @@ void AdBlock::fillWithHtmlTag(AdElementList &elements, void AdBlock::addAdFilter(const TQString &url) { //FIXME hackish - KHTMLSettings *settings = const_cast<KHTMLSettings *>(m_part->settings()); + TDEHTMLSettings *settings = const_cast<TDEHTMLSettings *>(m_part->settings()); settings->addAdFilter(url); } diff --git a/konq-plugins/adblock/adblock.h b/konq-plugins/adblock/adblock.h index 4293169..dbb4549 100644 --- a/konq-plugins/adblock/adblock.h +++ b/konq-plugins/adblock/adblock.h @@ -25,9 +25,9 @@ #include <tqvaluelist.h> #include <tdeparts/plugin.h> -class KHTMLPart; +class TDEHTMLPart; class KURLLabel; -class KHTMLSettings; +class TDEHTMLSettings; class AdElement; class KPopupMenu; @@ -53,7 +53,7 @@ public: ~AdBlock(); private: - TQGuardedPtr<KHTMLPart> m_part; + TQGuardedPtr<TDEHTMLPart> m_part; KURLLabel *m_label; KPopupMenu *m_menu; |