[PyQt] QNetworkRequest::User and QNetworkRequest::MaxUser

Florian Bruhin me at the-compiler.org
Mon May 16 14:02:20 BST 2016


* redstone-cold <redstone-cold at 163.com> [2016-05-15 18:14:24 +0800]:
> I found QNetworkRequest::User and QNetworkRequest::MaxUser in http://doc.qt.io/qt-5/qnetworkrequest.html#Attribute-enum
> but the doc seems doesn't explain the mean of each , so what is the  mean of each and the difference between them?

It does:

    Special type. Additional information can be passed in QVariants with
    types ranging from User to UserMax. The default implementation of
    Network Access will ignore any request attributes in this range and it
    will not produce any attributes in this range in replies. The range is
    reserved for extensions of QNetworkAccessManager.

Florian

-- 
http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
         I love long mails! | http://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160516/fe47f9ca/attachment.sig>


More information about the PyQt mailing list