diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 2bc1d72869b62af05ae4feafd878203b526da8c5 (patch) | |
tree | 2676903bb600bd9646644856e354940471ad84e2 /kget/kget_plug_in | |
parent | 937b2991d8e78166eea904c80ad04d34607017a4 (diff) | |
download | tdenetwork-2bc1d72869b62af05ae4feafd878203b526da8c5.tar.gz tdenetwork-2bc1d72869b62af05ae4feafd878203b526da8c5.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kget/kget_plug_in')
-rw-r--r-- | kget/kget_plug_in/kget_linkview.cpp | 8 | ||||
-rw-r--r-- | kget/kget_plug_in/kget_linkview.h | 4 | ||||
-rw-r--r-- | kget/kget_plug_in/kget_plug_in.cpp | 16 | ||||
-rw-r--r-- | kget/kget_plug_in/kget_plug_in.h | 6 |
4 files changed, 17 insertions, 17 deletions
diff --git a/kget/kget_plug_in/kget_linkview.cpp b/kget/kget_plug_in/kget_linkview.cpp index 295d04b4..69a3cfc1 100644 --- a/kget/kget_plug_in/kget_linkview.cpp +++ b/kget/kget_plug_in/kget_linkview.cpp @@ -18,8 +18,8 @@ #define COL_MIME 2 #define COL_URL 3 -LinkViewItem::LinkViewItem( TQListView *tqparent, const LinkItem *lnk ) - : TQListViewItem( tqparent ), +LinkViewItem::LinkViewItem( TQListView *parent, const LinkItem *lnk ) + : TQListViewItem( parent ), link( lnk ) { TQString file = link->url.fileName(); @@ -37,8 +37,8 @@ LinkViewItem::LinkViewItem( TQListView *tqparent, const LinkItem *lnk ) /////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////// -KGetLinkView::KGetLinkView( TQWidget *tqparent, const char *name ) - : KMainWindow( tqparent, name ) +KGetLinkView::KGetLinkView( TQWidget *parent, const char *name ) + : KMainWindow( parent, name ) { setPlainCaption( i18n( "KGet" ) ); diff --git a/kget/kget_plug_in/kget_linkview.h b/kget/kget_plug_in/kget_linkview.h index b09e902d..34bf046b 100644 --- a/kget/kget_plug_in/kget_linkview.h +++ b/kget/kget_plug_in/kget_linkview.h @@ -19,7 +19,7 @@ class LinkViewItem : public TQListViewItem { public: - LinkViewItem( TQListView *tqparent, const LinkItem * lnk ); + LinkViewItem( TQListView *parent, const LinkItem * lnk ); const LinkItem *link; }; @@ -30,7 +30,7 @@ class KGetLinkView : public KMainWindow TQ_OBJECT public: - KGetLinkView( TQWidget *tqparent = 0L, const char *name = 0L ); + KGetLinkView( TQWidget *parent = 0L, const char *name = 0L ); ~KGetLinkView(); void setLinks( TQPtrList<LinkItem>& links ); diff --git a/kget/kget_plug_in/kget_plug_in.cpp b/kget/kget_plug_in/kget_plug_in.cpp index 78ef597e..c73406a2 100644 --- a/kget/kget_plug_in/kget_plug_in.cpp +++ b/kget/kget_plug_in/kget_plug_in.cpp @@ -44,8 +44,8 @@ #include "links.h" #include "kget_linkview.h" -KGet_plug_in::KGet_plug_in( TQObject* tqparent, const char* name ) - : Plugin( tqparent, name ) +KGet_plug_in::KGet_plug_in( TQObject* parent, const char* name ) + : Plugin( parent, name ) { TQPixmap pix = KGlobal::iconLoader()->loadIcon("kget", KIcon::MainToolbar); @@ -104,10 +104,10 @@ void KGet_plug_in::slotShowDrop() void KGet_plug_in::slotShowLinks() { - if ( !tqparent() || !tqparent()->inherits( "KHTMLPart" ) ) + if ( !parent() || !parent()->inherits( "KHTMLPart" ) ) return; - KHTMLPart *htmlPart = static_cast<KHTMLPart*>( tqparent() ); + KHTMLPart *htmlPart = static_cast<KHTMLPart*>( parent() ); KParts::Part *activePart = 0L; if ( htmlPart->partManager() ) { @@ -157,15 +157,15 @@ void KGet_plug_in::slotShowLinks() view->show(); } -KPluginFactory::KPluginFactory( TQObject* tqparent, const char* name ) - : KLibFactory( tqparent, name ) +KPluginFactory::KPluginFactory( TQObject* parent, const char* name ) + : KLibFactory( parent, name ) { s_instance = new KInstance("KPluginFactory"); } -TQObject* KPluginFactory::createObject( TQObject* tqparent, const char* name, const char*, const TQStringList & ) +TQObject* KPluginFactory::createObject( TQObject* parent, const char* name, const char*, const TQStringList & ) { - TQObject *obj = new KGet_plug_in( tqparent, name ); + TQObject *obj = new KGet_plug_in( parent, name ); return obj; } diff --git a/kget/kget_plug_in/kget_plug_in.h b/kget/kget_plug_in/kget_plug_in.h index 6cca1390..237c33d9 100644 --- a/kget/kget_plug_in/kget_plug_in.h +++ b/kget/kget_plug_in/kget_plug_in.h @@ -29,7 +29,7 @@ class KGet_plug_in : public KParts::Plugin Q_OBJECT TQ_OBJECT public: - KGet_plug_in( TQObject* tqparent = 0, const char* name = 0 ); + KGet_plug_in( TQObject* parent = 0, const char* name = 0 ); KToggleAction *m_paToggleDropTarget ; DCOPClient* p_dcopServer; virtual ~KGet_plug_in(); @@ -46,10 +46,10 @@ class KPluginFactory : public KLibFactory Q_OBJECT TQ_OBJECT public: - KPluginFactory( TQObject *tqparent = 0, const char *name = 0 ); + KPluginFactory( TQObject *parent = 0, const char *name = 0 ); ~KPluginFactory() ; - virtual TQObject* createObject( TQObject* tqparent = 0, const char* pname = 0, + virtual TQObject* createObject( TQObject* parent = 0, const char* pname = 0, const char* name = TQOBJECT_OBJECT_NAME_STRING, const TQStringList &args = TQStringList() ); |