Re: [Development] Proposal: virtual method of QtNetwork interfaces

2012-11-05 Thread Yang Fan
Thanks a lot. On Sat, Nov 3, 2012 at 8:46 PM, Robert Knight wrote: > > I wonder if your guys could modify the QNetworkAccessManager's method > declaration(get, post, put...), make them be virtual, > > so that I can derive a subclass and modify the implementation > > You can already do this. Re-

Re: [Development] Proposal: virtual method of QtNetwork interfaces

2012-11-03 Thread Robert Knight
> I wonder if your guys could modify the QNetworkAccessManager's method > declaration(get, post, put...), make them be virtual, > so that I can derive a subclass and modify the implementation You can already do this. Re-implement the protected createRequest() method. Regards, Rob. On 3 Novembe

[Development] Proposal: virtual method of QtNetwork interfaces

2012-11-03 Thread Yang Fan
Hi list, I'm writing a network program which runs on MS Windows, Linux and Mac OS X. All things look good but it seems that the network performance needs improving. I see the QtNetwork module especially the QNetworkAccessManager class which I'm mainly using in my program is implemented using cros