Sophie

Sophie

distrib > Mageia > 6 > x86_64 > media > core-updates > by-pkgid > 09bb53e5648f357bb3d35769c00e1902 > files > 459

qtwebengine5-doc-5.9.4-1.mga6.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qwebenginehistory_lgpl.qdoc -->
  <title>QWebEngineHistoryItem Class | Qt WebEngine 5.9</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 >Qt 5.9</td><td ><a href="qtwebengine-index.html">Qt WebEngine</a></td><td ><a href="qtwebengine-modules.html">C++ Classes</a></td><td >QWebEngineHistoryItem</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.9.4 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="#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">QWebEngineHistoryItem Class</h1>
<!-- $$$QWebEngineHistoryItem-brief -->
<p>The <a href="qwebenginehistoryitem.html">QWebEngineHistoryItem</a> class represents one item in the history of a web engine page. <a href="#details">More...</a></p>
<!-- @@@QWebEngineHistoryItem -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign">   <span class="preprocessor">#include &lt;QWebEngineHistoryItem&gt;</span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> QT += webenginewidgets</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign">  Qt 5.4</td></tr></table></div><ul>
<li><a href="qwebenginehistoryitem-members.html">List of all members, including inherited members</a></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"> </td><td class="memItemRight bottomAlign"><b><a href="qwebenginehistoryitem.html#QWebEngineHistoryItem">QWebEngineHistoryItem</a></b>(const QWebEngineHistoryItem &amp;<i>other</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qwebenginehistoryitem.html#dtor.QWebEngineHistoryItem">~QWebEngineHistoryItem</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QUrl </td><td class="memItemRight bottomAlign"><b><a href="qwebenginehistoryitem.html#iconUrl">iconUrl</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qwebenginehistoryitem.html#isValid">isValid</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QDateTime </td><td class="memItemRight bottomAlign"><b><a href="qwebenginehistoryitem.html#lastVisited">lastVisited</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QUrl </td><td class="memItemRight bottomAlign"><b><a href="qwebenginehistoryitem.html#originalUrl">originalUrl</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qwebenginehistoryitem.html#swap">swap</a></b>(QWebEngineHistoryItem &amp;<i>other</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qwebenginehistoryitem.html#title">title</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QUrl </td><td class="memItemRight bottomAlign"><b><a href="qwebenginehistoryitem.html#url">url</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QWebEngineHistoryItem &amp;</td><td class="memItemRight bottomAlign"><b><a href="qwebenginehistoryitem.html#operator-eq">operator=</a></b>(const QWebEngineHistoryItem &amp;<i>other</i>)</td></tr>
</table></div>
<a name="details"></a>
<!-- $$$QWebEngineHistoryItem-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>The <a href="qwebenginehistoryitem.html">QWebEngineHistoryItem</a> class represents one item in the history of a web engine page.</p>
<p>Each web engine history item represents an entry in the history stack of a web page, containing information about the page, its location, and the time when it was last visited.</p>
</div>
<p><b>See also </b><a href="qwebenginehistory.html">QWebEngineHistory</a> and <a href="qwebenginepage.html#history">QWebEnginePage::history</a>().</p>
<!-- @@@QWebEngineHistoryItem -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QWebEngineHistoryItem[overload1]$$$QWebEngineHistoryItemconstQWebEngineHistoryItem& -->
<h3 class="fn" id="QWebEngineHistoryItem"><a name="QWebEngineHistoryItem"></a>QWebEngineHistoryItem::<span class="name">QWebEngineHistoryItem</span>(const <span class="type"><a href="qwebenginehistoryitem.html#QWebEngineHistoryItem">QWebEngineHistoryItem</a></span> &amp;<i>other</i>)</h3>
<p>Constructs a history item from <i>other</i>. The new item and <i>other</i> will share their data, and modifying either this item or <i>other</i> will modify both instances.</p>
<!-- @@@QWebEngineHistoryItem -->
<!-- $$$~QWebEngineHistoryItem[overload1]$$$~QWebEngineHistoryItem -->
<h3 class="fn" id="dtor.QWebEngineHistoryItem"><a name="dtor.QWebEngineHistoryItem"></a>QWebEngineHistoryItem::<span class="name">~QWebEngineHistoryItem</span>()</h3>
<p>Destroys the history item.</p>
<!-- @@@~QWebEngineHistoryItem -->
<!-- $$$iconUrl[overload1]$$$iconUrl -->
<h3 class="fn" id="iconUrl"><a name="iconUrl"></a><span class="type">QUrl</span> QWebEngineHistoryItem::<span class="name">iconUrl</span>() const</h3>
<p>Returns the URL of the icon associated with the history item.</p>
<p><b>See also </b><a href="qwebenginehistoryitem.html#url">url</a>(), <a href="qwebenginehistoryitem.html#originalUrl">originalUrl</a>(), and <a href="qwebenginehistoryitem.html#title">title</a>().</p>
<!-- @@@iconUrl -->
<!-- $$$isValid[overload1]$$$isValid -->
<h3 class="fn" id="isValid"><a name="isValid"></a><span class="type">bool</span> QWebEngineHistoryItem::<span class="name">isValid</span>() const</h3>
<p>Returns whether this is a valid history item.</p>
<!-- @@@isValid -->
<!-- $$$lastVisited[overload1]$$$lastVisited -->
<h3 class="fn" id="lastVisited"><a name="lastVisited"></a><span class="type">QDateTime</span> QWebEngineHistoryItem::<span class="name">lastVisited</span>() const</h3>
<p>Returns the date and time when the page associated with the item was last visited.</p>
<p><b>See also </b><a href="qwebenginehistoryitem.html#title">title</a>() and <a href="qwebenginehistoryitem.html#url">url</a>().</p>
<!-- @@@lastVisited -->
<!-- $$$originalUrl[overload1]$$$originalUrl -->
<h3 class="fn" id="originalUrl"><a name="originalUrl"></a><span class="type">QUrl</span> QWebEngineHistoryItem::<span class="name">originalUrl</span>() const</h3>
<p>Returns the original URL associated with the history item.</p>
<p><b>See also </b><a href="qwebenginehistoryitem.html#url">url</a>().</p>
<!-- @@@originalUrl -->
<!-- $$$swap[overload1]$$$swapQWebEngineHistoryItem& -->
<h3 class="fn" id="swap"><a name="swap"></a><span class="type">void</span> QWebEngineHistoryItem::<span class="name">swap</span>(<span class="type"><a href="qwebenginehistoryitem.html#QWebEngineHistoryItem">QWebEngineHistoryItem</a></span> &amp;<i>other</i>)</h3>
<p>Swaps the history item with the <i>other</i> item.</p>
<!-- @@@swap -->
<!-- $$$title[overload1]$$$title -->
<h3 class="fn" id="title"><a name="title"></a><span class="type">QString</span> QWebEngineHistoryItem::<span class="name">title</span>() const</h3>
<p>Returns the title of the page associated with the history item.</p>
<p><b>See also </b><a href="qwebenginehistoryitem.html#url">url</a>() and <a href="qwebenginehistoryitem.html#lastVisited">lastVisited</a>().</p>
<!-- @@@title -->
<!-- $$$url[overload1]$$$url -->
<h3 class="fn" id="url"><a name="url"></a><span class="type">QUrl</span> QWebEngineHistoryItem::<span class="name">url</span>() const</h3>
<p>Returns the URL associated with the history item.</p>
<p><b>See also </b><a href="qwebenginehistoryitem.html#originalUrl">originalUrl</a>(), <a href="qwebenginehistoryitem.html#title">title</a>(), and <a href="qwebenginehistoryitem.html#lastVisited">lastVisited</a>().</p>
<!-- @@@url -->
<!-- $$$operator=[overload1]$$$operator=constQWebEngineHistoryItem& -->
<h3 class="fn" id="operator-eq"><a name="operator-eq"></a><span class="type"><a href="qwebenginehistoryitem.html#QWebEngineHistoryItem">QWebEngineHistoryItem</a></span> &amp;QWebEngineHistoryItem::<span class="name">operator=</span>(const <span class="type"><a href="qwebenginehistoryitem.html#QWebEngineHistoryItem">QWebEngineHistoryItem</a></span> &amp;<i>other</i>)</h3>
<p>Assigns the <i>other</i> history item to this. This item and <i>other</i> will share their data, and modifying either this item or <i>other</i> will modify both instances.</p>
<!-- @@@operator= -->
</div>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2017 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>