bandwidth throttling with Qt
I'm using the QNetworkAccessManager to download files from the web, it provides an easy API to the task. But I wish to add a download rate limit to the class, so all http replies won't exceed that limit (I see no reason to limit the requests). I've googled abit and found an interesting post here . But what it does is subclass QTcpSocket and gives control over the bandwidth using a separate class that manages a set of sockets. While this is nice I want to continue using the QNetworkAcessManager class. The way I see it I could: subclass QNetworkAccessManager and integrate the subclassed