case TR_SEEDS: return amountString(torrent->seedsCount(), torrent->totalSeedsCount()); case TR_PEERS: return amountString(torrent->leechsCount(), torrent->totalLeechersCount()); Internally, the relevant code is in 8 functions, starting from this line, of which only the 4 above interest us...