mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 21:03:30 -07:00
parent
1f42ab8c4f
commit
9f36b54b04
11 changed files with 240 additions and 0 deletions
|
@ -121,6 +121,9 @@ QVariantMap serialize(const BitTorrent::TorrentHandle &torrent)
|
|||
ret[KEY_TORRENT_AMOUNT_LEFT] = torrent.incompletedSize();
|
||||
ret[KEY_TORRENT_AMOUNT_COMPLETED] = torrent.completedSize();
|
||||
ret[KEY_TORRENT_MAX_RATIO] = torrent.maxRatio();
|
||||
ret[KEY_TORRENT_MAX_SEEDING_TIME] = torrent.maxSeedingTime();
|
||||
ret[KEY_TORRENT_RATIO_LIMIT] = torrent.ratioLimit();
|
||||
ret[KEY_TORRENT_SEEDING_TIME_LIMIT] = torrent.seedingTimeLimit();
|
||||
ret[KEY_TORRENT_LAST_SEEN_COMPLETE_TIME] = torrent.lastSeenComplete().toTime_t();
|
||||
ret[KEY_TORRENT_AUTO_TORRENT_MANAGEMENT] = torrent.isAutoTMMEnabled();
|
||||
ret[KEY_TORRENT_TIME_ACTIVE] = torrent.activeTime();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue