21 #ifndef BT_MAGNETDOWNLOADER_H
22 #define BT_MAGNETDOWNLOADER_H
26 #include <ktorrent_export.h>
27 #include <torrent/torrent.h>
28 #include <tracker/tracker.h>
29 #include "magnetlink.h"
85 void onNewPeer(
Peer* p);
86 void onMetadataDownloaded(
const QByteArray & data);
87 void onTorrentDownloaded(KJob*);
92 Uint64 bytesDownloaded()
const override;
93 Uint64 bytesUploaded()
const override;
94 Uint64 bytesLeft()
const override;
95 const SHA1Hash & infoHash()
const override;
96 bool isPartialSeed()
const override;
100 QList<Tracker*> trackers;
110 #endif // BT_MAGNETDOWNLOADER_H