#include <QTreeWidget>
+#include "QBittorrentSession.h"
+
+class SeedViewItem;
+
/**
@author Lassi Väätämöinen <lassi.vaatamoinen@ixonos.com>
*/
SeedView(QWidget* parent);
~SeedView();
+
+ void newItem(QTorrentHandle const* handle);
+ void updateItem(QTorrentHandle const* handle);
private:
+ // Maps torrent to SeedView item.
+ // Key: SHA1 info hash of torrent. Data: View item corresponding to torrent.
+ std::map<Sha1Hash, SeedViewItem*> items_;
+
// Name
// Size
// Status