summaryrefslogtreecommitdiffstats
path: root/kget/kget_plug_in/kget_linkview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kget/kget_plug_in/kget_linkview.cpp')
-rw-r--r--kget/kget_plug_in/kget_linkview.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kget/kget_plug_in/kget_linkview.cpp b/kget/kget_plug_in/kget_linkview.cpp
index a9bab704..295d04b4 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 *parent, const LinkItem *lnk )
- : TQListViewItem( parent ),
+LinkViewItem::LinkViewItem( TQListView *tqparent, const LinkItem *lnk )
+ : TQListViewItem( tqparent ),
link( lnk )
{
TQString file = link->url.fileName();
@@ -37,17 +37,17 @@ LinkViewItem::LinkViewItem( TQListView *parent, const LinkItem *lnk )
///////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////
-KGetLinkView::KGetLinkView( TQWidget *parent, const char *name )
- : KMainWindow( parent, name )
+KGetLinkView::KGetLinkView( TQWidget *tqparent, const char *name )
+ : KMainWindow( tqparent, name )
{
setPlainCaption( i18n( "KGet" ) );
KAction* actionDownload = new KAction( i18n("Download Selected Files"),
"kget", CTRL+Key_D,
- this, TQT_SLOT( slotStartLeech() ),
+ TQT_TQOBJECT(this), TQT_SLOT( slotStartLeech() ),
actionCollection(), "startDownload" );
- KAction* actionSelectAll = KStdAction::selectAll( this, TQT_SLOT( slotSelectAll() ),
+ KAction* actionSelectAll = KStdAction::selectAll( TQT_TQOBJECT(this), TQT_SLOT( slotSelectAll() ),
actionCollection() );
m_links.setAutoDelete( true );
@@ -56,7 +56,7 @@ KGetLinkView::KGetLinkView( TQWidget *parent, const char *name )
actionSelectAll->plug( toolBar() );
TQWidget *mainWidget = new TQWidget( this );
- TQVBoxLayout *layout = new TQVBoxLayout( mainWidget );
+ TQVBoxLayout *tqlayout = new TQVBoxLayout( mainWidget );
setCentralWidget( mainWidget );
m_view = new KListView( mainWidget, "listview" );
@@ -68,8 +68,8 @@ KGetLinkView::KGetLinkView( TQWidget *parent, const char *name )
m_view->setShowSortIndicator( true );
KListViewSearchLineWidget *line = new KListViewSearchLineWidget( m_view, mainWidget, "search line" );
- layout->addWidget( line );
- layout->addWidget( m_view );
+ tqlayout->addWidget( line );
+ tqlayout->addWidget( m_view );
// setting a fixed (not floating) toolbar
toolBar()->setMovingEnabled( false );
@@ -125,7 +125,7 @@ void KGetLinkView::slotStartLeech()
TQByteArray data;
TQDataStream stream( data, IO_WriteOnly );
- stream << urls << TQString::null;
+ stream << urls << TQString();
bool ok = DCOPClient::mainClient()->send( "kget", "KGet-Interface",
"addTransfers(KURL::List, TQString)",
data );
@@ -139,7 +139,7 @@ void KGetLinkView::slotStartLeech()
void KGetLinkView::setPageURL( const TQString& url )
{
- setPlainCaption( i18n( "Links in: %1 - KGet" ).arg( url ) );
+ setPlainCaption( i18n( "Links in: %1 - KGet" ).tqarg( url ) );
}
void KGetLinkView::slotSelectAll()