diff options
author | Timothy Pearson <[email protected]> | 2013-01-27 21:01:57 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-27 21:01:57 -0600 |
commit | a5a7573f3597f76e3cf9ebfb5a38416906289ff3 (patch) | |
tree | beabf7411b6bfeb386bea8016fa48eebf61db192 /konq-plugins/adblock/adblock.cpp | |
parent | f21b0182707822a0aeaedd00578eb18ce191c47d (diff) | |
download | tdeaddons-a5a7573f3597f76e3cf9ebfb5a38416906289ff3.tar.gz tdeaddons-a5a7573f3597f76e3cf9ebfb5a38416906289ff3.zip |
Rename kiobuffer and KHTML
Diffstat (limited to 'konq-plugins/adblock/adblock.cpp')
-rw-r--r-- | konq-plugins/adblock/adblock.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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); } |