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
指向与此配额请求相同的对象。