summaryrefslogtreecommitdiffstats
path: root/konq-plugins/adblock
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit90363652674deb94cd07057428b24fcb1735dbce (patch)
tree35013223cb731f194f8584cc1c06a023c3c75c85 /konq-plugins/adblock
parent627b091fad9df13695f249588e8a58f524eda0fa (diff)
downloadtdeaddons-90363652674deb94cd07057428b24fcb1735dbce.tar.gz
tdeaddons-90363652674deb94cd07057428b24fcb1735dbce.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konq-plugins/adblock')
-rw-r--r--konq-plugins/adblock/adblock.cpp6
-rw-r--r--konq-plugins/adblock/adblock.h2
-rw-r--r--konq-plugins/adblock/adblockdialogue.cpp4
-rw-r--r--konq-plugins/adblock/adblockdialogue.h2
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: