I would prefer a struct than a QPair to improve code readability. Right now, it is not obvious which one is download, which one is upload.