summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools
diff options
context:
space:
mode:
authorKonstantin Tokarev <annulen@yandex.ru>2017-11-20 11:57:14 +0300
committerKonstantin Tokarev <annulen@yandex.ru>2017-11-24 23:28:07 +0000
commit4d0add31fd0a69aca7c7c852f22531dd98922c62 (patch)
treebeaa8b397dcd3f5abef77725d2df28ca6b76068f /src/corelib/tools
parentc3632d80369c2b03be29d5158f1af8fcbfc11d2d (diff)
Add QNetworkRequest::ResourceTypeAttribute for use in QtWebKit
Often requested feature in QtWebKit is reporting what kind of resource corresponds to particular QNetworkRequest, similarly to QWebEngineUrlRequestInfo::resourceType(). This information can be used to modify or block certain request types in user's implementation of QNAM::createRequest(). The only clean way to pass this data is via attributes of QNetworkRequest, so enum value needs to be reserved. It's unlikely to be used anywhere outside of QtWebKit, however this is already the case for SynchronousRequestAttribute. Change-Id: I51a258e5e4b78e6e823c30c48d0c644356de6b17 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/corelib/tools')
0 files changed, 0 insertions, 0 deletions