The QWebEngineQuotaRequest class enables accepting or rejecting requests for larger persistent storage than the application's current allocation in File System API. More...
Header: | #include <QWebEngineQuotaRequest> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS WebEngineCore) target_link_libraries(mytarget PRIVATE Qt6::WebEngineCore) |
qmake: | QT += webenginecore |
Since: | Qt 5.11 |
Instantiated By: | QuotaRequest |
void | accept() |
QUrl | origin() const |
void | reject() |
qint64 | requestedSize() const |
bool | operator!=(const QWebEngineQuotaRequest &that) const |
bool | operator==(const QWebEngineQuotaRequest &that) const |
This class is used by the QWebEnginePage::quotaRequested() signal to accept() or reject() a request for an increase in the persistent storage allocated to the application. The default quota is 0 bytes.
[read-only]
origin : const QUrlThis property holds the URL of the web page that issued the quota request.
Access functions:
QUrl | origin() const |
[read-only]
requestedSize : const qint64Contains the size of the requested disk space in bytes.
Access functions:
qint64 | requestedSize() const |
[invokable]
void QWebEngineQuotaRequest::accept()Accepts a request for larger persistent storage.
Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.
[invokable]
void QWebEngineQuotaRequest::reject()Rejects a request for larger persistent storage.
Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.
Returns true
if that points to a different object than this request.
Returns true
if that points to the same object as this quota request.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: