summaryrefslogtreecommitdiffstats
path: root/konq-plugins/adblock/adblock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'konq-plugins/adblock/adblock.cpp')
-rw-r--r--konq-plugins/adblock/adblock.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/konq-plugins/adblock/adblock.cpp b/konq-plugins/adblock/adblock.cpp
index c18c061..9d0fdb3 100644
--- a/konq-plugins/adblock/adblock.cpp
+++ b/konq-plugins/adblock/adblock.cpp
@@ -56,11 +56,11 @@ using namespace DOM;
typedef KGenericFactory<AdBlock> AdBlockFactory;
K_EXPORT_COMPONENT_FACTORY( libadblock, AdBlockFactory( "adblock" ) )
-AdBlock::AdBlock(TQObject *parent, const char *name, const TQStringList &) :
- KParts::Plugin(parent, name),
+AdBlock::AdBlock(TQObject *tqparent, const char *name, const TQStringList &) :
+ KParts::Plugin(tqparent, name),
m_label(0), m_menu(0)
{
- m_part = dynamic_cast<KHTMLPart *>(parent);
+ m_part = dynamic_cast<KHTMLPart *>(tqparent);
if(!m_part) { kdDebug() << "couldn't get KHTMLPart" << endl; return; }
m_menu = new KPopupMenu(m_part->widget());
@@ -95,7 +95,7 @@ void AdBlock::initLabel()
KIconLoader *loader = instance()->iconLoader();
m_label->setFixedHeight(loader->currentSize(KIcon::Small));
- m_label->setSizePolicy(TQSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Fixed));
+ m_label->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Fixed));
m_label->setUseCursor(false);
m_label->setPixmap(loader->loadIcon("filter", KIcon::Small));
@@ -176,7 +176,7 @@ void AdBlock::fillWithImages(AdElementList &elements)
if (!url.isEmpty() && url != m_part->baseURL().url())
{
AdElement element(url, "image", "IMG", false);
- if (!elements.contains( element ))
+ if (!elements.tqcontains( element ))
elements.append( element);
}
}
@@ -203,7 +203,7 @@ void AdBlock::fillWithHtmlTag(AdElementList &elements,
if (!url.isEmpty() && url != m_part->baseURL().url())
{
AdElement element(url, tagName.string(), category, false);
- if (!elements.contains( element ))
+ if (!elements.tqcontains( element ))
elements.append( element);
}
}