What have you tried so far? Show us the code.
What have you tried so far? Show us the code.
Horse sense is the thing that keeps horses from betting on people. --W.C. Fields
Ask Smart Questions
Truthfully, I have working code with QHttp, but I was trying to switch to QNAM. I was creating a new thread for every request and then looping over each of the threads. Each thread was emitting a signal to update a progress bar which I kept in a QMap. This seems overly complicated and I was hoping to simplify it using QNAM.
I was originally thinking of needing a QSignalMapper to map the signal from the QNetworkReply, but the signal sends two parameters and not one, so that's out. The other alternative was to subclass QNetworkReply and/or QNAM which seems like just as much work as I already have done.
Has anyone else done something similar? A download manager seems common so I thought others might have something I could use as a starting point. I don't have any code yet, except for my old class which I am trying to replace.
Joey
Bookmarks