[Qt-interest] QT Networking: Is there a way to pass custom info in network request?

Thiago Macieira thiago at kde.org
Fri Jul 2 13:24:43 CEST 2010


Em Sexta-feira 2. Julho 2010, às 14.12.16, Mandeep Sandhu escreveu:
> Is there a simple way by which I can attach my custom info (i.e a page
> number here) to  a network request object....and when the finished
> signal is emitted, extract the QNetworkRequest object and get my
> custom info out?

Yes. You can set it in one of the custom attributes of the request.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100702/6d3cde38/attachment.bin 


More information about the Qt-interest-old mailing list