blob: e5dc78ad8015ecb95af9298a4302d9fa8e60409e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
/****************************************************************************
** $Id$
**
** Copyright (C) 2002 Carsten Pfeiffer <pfeiffer@kde.org>
**
****************************************************************************/
#ifndef KGET_LINKVIEW_H
#define KGET_LINKVIEW_H
#include <tqptrlist.h>
#include <tdelistview.h>
#include <tdemainwindow.h>
#include <kurl.h>
#include "links.h"
class LinkViewItem : public TQListViewItem
{
public:
LinkViewItem( TQListView *parent, const LinkItem * lnk );
const LinkItem *link;
};
class KGetLinkView : public TDEMainWindow
{
Q_OBJECT
public:
KGetLinkView( TQWidget *parent = 0L, const char *name = 0L );
~KGetLinkView();
void setLinks( TQPtrList<LinkItem>& links );
void setPageURL( const TQString& url );
signals:
void leechURLs( const KURL::List& urls );
private slots:
void slotStartLeech();
void slotSelectAll();
private:
void showLinks( const TQPtrList<LinkItem>& links );
TQPtrList<LinkItem> m_links;
TDEListView *m_view;
};
#endif // KGET_LINKVIEW_H
|