The QWebEngineQuotaRequest class enables accepting or rejecting requests for larger persistent storage than the application's current allocation in File System API. 更多...
| 頭: | #include <QWebEngineQuotaRequest> |
| Since: | Qt 5.11 |
| 實例化: | QuotaRequest |
| void | accept () |
| QUrl | origin () const |
| void | reject () |
| qint64 | requestedSize () const |
| bool | operator!= (const QWebEngineQuotaRequest & that ) const |
| bool | operator== (const QWebEngineQuotaRequest & that ) const |
| const QMetaObject | staticMetaObject |
The QWebEngineQuotaRequest class enables accepting or rejecting requests for larger persistent storage than the application's current allocation in File System API.
This class is used by the QWebEnginePage::quotaRequested () 信號到 accept () 或 reject () a request for an increase in the persistent storage allocated to the application. The default quota is 0 bytes.
This property holds the URL of the web page that issued the quota request.
訪問函數:
| QUrl | origin () const |
Contains the size of the requested disk space in bytes.
訪問函數:
| qint64 | requestedSize () const |
接受更大持久性存儲的請求。
注意: 此函數可以被援引,通過元對象係統和從 QML。見 Q_INVOKABLE .
拒絕更大持久性存儲的請求。
注意: 此函數可以被援引,通過元對象係統和從 QML。見 Q_INVOKABLE .
返迴
true
if
that
指嚮與此請求不同的對象。
返迴
true
if
that
指嚮與此配額請求相同的對象。