summaryrefslogtreecommitdiffstats
path: root/kget/kget_plug_in/kget_plug_in.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kget/kget_plug_in/kget_plug_in.cpp')
-rw-r--r--kget/kget_plug_in/kget_plug_in.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kget/kget_plug_in/kget_plug_in.cpp b/kget/kget_plug_in/kget_plug_in.cpp
index dc5f5b9f..c73406a2 100644
--- a/kget/kget_plug_in/kget_plug_in.cpp
+++ b/kget/kget_plug_in/kget_plug_in.cpp
@@ -44,25 +44,25 @@
#include "links.h"
#include "kget_linkview.h"
-KGet_plug_in::KGet_plug_in( QObject* parent, const char* name )
+KGet_plug_in::KGet_plug_in( TQObject* parent, const char* name )
: Plugin( parent, name )
{
- QPixmap pix = KGlobal::iconLoader()->loadIcon("kget",
+ TQPixmap pix = KGlobal::iconLoader()->loadIcon("kget",
KIcon::MainToolbar);
KActionMenu *menu = new KActionMenu( i18n("Download Manager"), pix,
actionCollection(), "kget_menu" );
menu->setDelayed( false );
- connect( menu->popupMenu(), SIGNAL( aboutToShow() ), SLOT( showPopup() ));
+ connect( menu->popupMenu(), TQT_SIGNAL( aboutToShow() ), TQT_SLOT( showPopup() ));
m_paToggleDropTarget=new KToggleAction(i18n("Show Drop Target"),
KShortcut(),
- this, SLOT(slotShowDrop()),
+ this, TQT_SLOT(slotShowDrop()),
actionCollection(), "show_drop" );
menu->insert( m_paToggleDropTarget );
KAction *action = new KAction(i18n("List All Links"), KShortcut(),
- this, SLOT( slotShowLinks() ),
+ this, TQT_SLOT( slotShowLinks() ),
actionCollection(), "show_links");
menu->insert( action );
@@ -122,8 +122,8 @@ void KGet_plug_in::slotShowLinks()
DOM::HTMLCollection links = doc.links();
- QPtrList<LinkItem> linkList;
- std::set<QString> dupeCheck;
+ TQPtrList<LinkItem> linkList;
+ std::set<TQString> dupeCheck;
for ( uint i = 0; i < links.length(); i++ )
{
DOM::Node link = links.item( i );
@@ -150,22 +150,22 @@ void KGet_plug_in::slotShowLinks()
}
KGetLinkView *view = new KGetLinkView();
- QString url = doc.URL().string();
+ TQString url = doc.URL().string();
view->setPageURL( url );
view->setLinks( linkList );
view->show();
}
-KPluginFactory::KPluginFactory( QObject* parent, const char* name )
+KPluginFactory::KPluginFactory( TQObject* parent, const char* name )
: KLibFactory( parent, name )
{
s_instance = new KInstance("KPluginFactory");
}
-QObject* KPluginFactory::createObject( QObject* parent, const char* name, const char*, const QStringList & )
+TQObject* KPluginFactory::createObject( TQObject* parent, const char* name, const char*, const TQStringList & )
{
- QObject *obj = new KGet_plug_in( parent, name );
+ TQObject *obj = new KGet_plug_in( parent, name );
return obj;
}