Mercurial > minori
comparison include/gui/pages/torrents.h @ 202:71832ffe425a
animia: re-add kvm fd source
this is all being merged from my wildly out-of-date laptop. SORRY!
in other news, I edited the CI file to install the wayland client
as well, so the linux CI build might finally get wayland stuff.
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Tue, 02 Jan 2024 06:05:06 -0500 |
parents | 01d259b9c89f |
children | 2f5a9247e501 |
comparison
equal
deleted
inserted
replaced
201:8f6f8dd2eb23 | 202:71832ffe425a |
---|---|
44 QVariant data(const QModelIndex& index, int role) const override; | 44 QVariant data(const QModelIndex& index, int role) const override; |
45 QVariant headerData(const int section, const Qt::Orientation orientation, const int role) const override; | 45 QVariant headerData(const int section, const Qt::Orientation orientation, const int role) const override; |
46 Qt::ItemFlags flags(const QModelIndex& index) const override; | 46 Qt::ItemFlags flags(const QModelIndex& index) const override; |
47 | 47 |
48 QByteArray DownloadTorrentList(); | 48 QByteArray DownloadTorrentList(); |
49 void ParseFeedDescription(const std::string& description, Torrent& torrent); | |
49 void ParseTorrentList(const QByteArray& ba); | 50 void ParseTorrentList(const QByteArray& ba); |
50 void RefreshTorrentList(); | 51 void RefreshTorrentList(); |
51 | 52 |
52 private: | 53 private: |
53 class TorrentModelItem : public Torrent { | 54 class TorrentModelItem : public Torrent { |