summaryrefslogtreecommitdiffstats
path: root/kget/kget_plug_in/kget_linkview.h
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commitbcb704366cb5e333a626c18c308c7e0448a8e69f (patch)
treef0d6ab7d78ecdd9207cf46536376b44b91a1ca71 /kget/kget_plug_in/kget_linkview.h
downloadtdenetwork-bcb704366cb5e333a626c18c308c7e0448a8e69f.tar.gz
tdenetwork-bcb704366cb5e333a626c18c308c7e0448a8e69f.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kget/kget_plug_in/kget_linkview.h')
-rw-r--r--kget/kget_plug_in/kget_linkview.h54
1 files changed, 54 insertions, 0 deletions
diff --git a/kget/kget_plug_in/kget_linkview.h b/kget/kget_plug_in/kget_linkview.h
new file mode 100644
index 00000000..a6d7961c
--- /dev/null
+++ b/kget/kget_plug_in/kget_linkview.h
@@ -0,0 +1,54 @@
+/****************************************************************************
+** $Id$
+**
+** Copyright (C) 2002 Carsten Pfeiffer <[email protected]>
+**
+****************************************************************************/
+
+#ifndef KGET_LINKVIEW_H
+#define KGET_LINKVIEW_H
+
+#include <qptrlist.h>
+
+#include <klistview.h>
+#include <kmainwindow.h>
+#include <kurl.h>
+
+#include "links.h"
+
+class LinkViewItem : public QListViewItem
+{
+public:
+ LinkViewItem( QListView *parent, const LinkItem * lnk );
+ const LinkItem *link;
+};
+
+
+class KGetLinkView : public KMainWindow
+{
+ Q_OBJECT
+
+public:
+ KGetLinkView( QWidget *parent = 0L, const char *name = 0L );
+ ~KGetLinkView();
+
+ void setLinks( QPtrList<LinkItem>& links );
+ void setPageURL( const QString& url );
+
+signals:
+ void leechURLs( const KURL::List& urls );
+
+private slots:
+ void slotStartLeech();
+ void slotSelectAll();
+
+private:
+ void showLinks( const QPtrList<LinkItem>& links );
+
+ QPtrList<LinkItem> m_links;
+
+ KListView *m_view;
+
+};
+
+#endif // KGET_LINKVIEW_H