diff options
Diffstat (limited to 'konq-plugins/adblock')
-rw-r--r-- | konq-plugins/adblock/adblock.cpp | 6 | ||||
-rw-r--r-- | konq-plugins/adblock/adblock.h | 2 | ||||
-rw-r--r-- | konq-plugins/adblock/adblockdialogue.cpp | 4 | ||||
-rw-r--r-- | konq-plugins/adblock/adblockdialogue.h | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/konq-plugins/adblock/adblock.cpp b/konq-plugins/adblock/adblock.cpp index 74d07cd..57cf2cc 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 *tqparent, const char *name, const TQStringList &) : - KParts::Plugin(tqparent, name), +AdBlock::AdBlock(TQObject *parent, const char *name, const TQStringList &) : + KParts::Plugin(parent, name), m_label(0), m_menu(0) { - m_part = dynamic_cast<KHTMLPart *>(tqparent); + m_part = dynamic_cast<KHTMLPart *>(parent); if(!m_part) { kdDebug() << "couldn't get KHTMLPart" << endl; return; } m_menu = new KPopupMenu(m_part->widget()); diff --git a/konq-plugins/adblock/adblock.h b/konq-plugins/adblock/adblock.h index 87c1e5d..a0b4775 100644 --- a/konq-plugins/adblock/adblock.h +++ b/konq-plugins/adblock/adblock.h @@ -49,7 +49,7 @@ class AdBlock : public KParts::Plugin TQ_OBJECT public: - AdBlock(TQObject *tqparent, const char *name, const TQStringList &); + AdBlock(TQObject *parent, const char *name, const TQStringList &); ~AdBlock(); private: diff --git a/konq-plugins/adblock/adblockdialogue.cpp b/konq-plugins/adblock/adblockdialogue.cpp index d4e0140..1aff0f6 100644 --- a/konq-plugins/adblock/adblockdialogue.cpp +++ b/konq-plugins/adblock/adblockdialogue.cpp @@ -32,8 +32,8 @@ #include <tqfont.h> #include <tqpainter.h> -AdBlockDlg::AdBlockDlg(TQWidget *tqparent, AdElementList &elements) : - KDialogBase( tqparent, "Adblock dialogue", true, "Adblock - able Items", Ok|Cancel, Ok, true ) +AdBlockDlg::AdBlockDlg(TQWidget *parent, AdElementList &elements) : + KDialogBase( parent, "Adblock dialogue", true, "Adblock - able Items", Ok|Cancel, Ok, true ) { TQVBox *page = makeVBoxMainWidget(); m_label1 = new TQLabel( i18n("All blockable items in this page:"), page, "label1" ); diff --git a/konq-plugins/adblock/adblockdialogue.h b/konq-plugins/adblock/adblockdialogue.h index b0e397f..f62c2ee 100644 --- a/konq-plugins/adblock/adblockdialogue.h +++ b/konq-plugins/adblock/adblockdialogue.h @@ -40,7 +40,7 @@ private: KPopupMenu *m_menu; public: - AdBlockDlg(TQWidget *tqparent, AdElementList &elements); + AdBlockDlg(TQWidget *parent, AdElementList &elements); ~AdBlockDlg(); private slots: |