diff options
Diffstat (limited to 'kget/kget_plug_in/kget_plug_in.cpp')
-rw-r--r-- | kget/kget_plug_in/kget_plug_in.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
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; } |