<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qwebenginequotarequest.cpp -->
  <title>QWebEngineQuotaRequest Class | Qt WebEngine 5.11</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td ><a href="../qtdoc/index.html">Qt 5.11</a></td><td ><a href="qtwebengine-index.html">Qt WebEngine</a></td><td ><a href="qtwebengine-modules.html">C++ Classes</a></td><td >QWebEngineQuotaRequest</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.11.2 Reference Documentation</td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#properties">Properties</a></li>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">QWebEngineQuotaRequest Class</h1>
<!-- $$$QWebEngineQuotaRequest-brief -->
<p>The <a href="qwebenginequotarequest.html">QWebEngineQuotaRequest</a> class enables accepting or rejecting requests for larger persistent storage than the application's current allocation in File System API. <a href="#details">More...</a></p>
<!-- @@@QWebEngineQuotaRequest -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign">   <span class="preprocessor">#include &lt;QWebEngineQuotaRequest&gt;</span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign">  Qt 5.11</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Instantiated By:</td><td class="memItemRight bottomAlign"> <a href="qml-qtwebengine-quotarequest.html">QuotaRequest</a></td></tr></table></div><ul>
<li><a href="qwebenginequotarequest-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="properties"></a>
<h2 id="properties">Properties</h2>
<ul>
<li class="fn"><b><a href="qwebenginequotarequest.html#origin-prop">origin</a></b> : const QUrl</li>
<li class="fn"><b><a href="qwebenginequotarequest.html#requestedSize-prop">requestedSize</a></b> : const qint64</li>
</ul>
<a name="public-functions"></a>
<h2 id="public-functions">Public Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qwebenginequotarequest.html#accept">accept</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QUrl </td><td class="memItemRight bottomAlign"><b><a href="qwebenginequotarequest.html#origin-prop">origin</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qwebenginequotarequest.html#reject">reject</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qint64 </td><td class="memItemRight bottomAlign"><b><a href="qwebenginequotarequest.html#requestedSize-prop">requestedSize</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qwebenginequotarequest.html#operator-not-eq">operator!=</a></b>(const QWebEngineQuotaRequest &amp;<i>that</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qwebenginequotarequest.html#operator-eq-eq">operator==</a></b>(const QWebEngineQuotaRequest &amp;<i>that</i>) const</td></tr>
</table></div>
<a name="details"></a>
<!-- $$$QWebEngineQuotaRequest-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>The <a href="qwebenginequotarequest.html">QWebEngineQuotaRequest</a> class enables accepting or rejecting requests for larger persistent storage than the application's current allocation in File System API.</p>
<p>This class is used by the <a href="qwebenginepage.html#quotaRequested">QWebEnginePage::quotaRequested</a>() signal to <a href="qwebenginequotarequest.html#accept">accept</a>() or <a href="qwebenginequotarequest.html#reject">reject</a>() a request for an increase in the persistent storage allocated to the application. The default quota is 0 bytes.</p>
</div>
<!-- @@@QWebEngineQuotaRequest -->
<div class="prop">
<h2>Property Documentation</h2>
<!-- $$$origin-prop$$$origin -->
<h3 class="fn" id="origin-prop"><a name="origin-prop"></a><span class="name">origin</span> : const <span class="type"><a href="../qtcore/qurl.html">QUrl</a></span></h3>
<p>This property holds the URL of the web page that issued the quota request.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QUrl </td><td class="memItemRight bottomAlign"><span class="name"><b>origin</b></span>() const</td></tr>
</table></div>
<!-- @@@origin -->
<!-- $$$requestedSize-prop$$$requestedSize -->
<h3 class="fn" id="requestedSize-prop"><a name="requestedSize-prop"></a><span class="name">requestedSize</span> : const <span class="type"><a href="../qtcore/qtglobal.html#qint64-typedef">qint64</a></span></h3>
<p>Contains the size of the requested disk space in bytes.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> qint64 </td><td class="memItemRight bottomAlign"><span class="name"><b>requestedSize</b></span>() const</td></tr>
</table></div>
<!-- @@@requestedSize -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$accept[overload1]$$$accept -->
<h3 class="fn" id="accept"><a name="accept"></a><span class="type">void</span> QWebEngineQuotaRequest::<span class="name">accept</span>()</h3>
<p>Accepts a request for larger persistent storage.</p>
<p><b>Note: </b>This function can be invoked via the meta-object system and from QML. See <a href="../qtcore/qobject.html#Q_INVOKABLE">Q_INVOKABLE</a>.</p>
<!-- @@@accept -->
<!-- $$$reject[overload1]$$$reject -->
<h3 class="fn" id="reject"><a name="reject"></a><span class="type">void</span> QWebEngineQuotaRequest::<span class="name">reject</span>()</h3>
<p>Rejects a request for larger persistent storage.</p>
<p><b>Note: </b>This function can be invoked via the meta-object system and from QML. See <a href="../qtcore/qobject.html#Q_INVOKABLE">Q_INVOKABLE</a>.</p>
<!-- @@@reject -->
<!-- $$$operator!=[overload1]$$$operator!=constQWebEngineQuotaRequest& -->
<h3 class="fn" id="operator-not-eq"><a name="operator-not-eq"></a><span class="type">bool</span> QWebEngineQuotaRequest::<span class="name">operator!=</span>(const <span class="type">QWebEngineQuotaRequest</span> &amp;<i>that</i>) const</h3>
<p>Returns <code>true</code> if <i>that</i> points to a different object than this request.</p>
<!-- @@@operator!= -->
<!-- $$$operator==[overload1]$$$operator==constQWebEngineQuotaRequest& -->
<h3 class="fn" id="operator-eq-eq"><a name="operator-eq-eq"></a><span class="type">bool</span> QWebEngineQuotaRequest::<span class="name">operator==</span>(const <span class="type">QWebEngineQuotaRequest</span> &amp;<i>that</i>) const</h3>
<p>Returns <code>true</code> if <i>that</i> points to the same object as this quota request.</p>
<!-- @@@operator== -->
</div>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2018 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br/>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br/>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>