Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-updates > by-pkgid > d5e62c01ae8d1e579463c6a871dd44bf > files > 2035

qtbase5-doc-5.12.6-2.mga7.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" />
<!-- qdnslookup.cpp -->
  <title>QDnsHostAddressRecord Class | Qt Network 5.12.6</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.12</td><td ><a href="qtnetwork-index.html">Qt Network</a></td><td ><a href="qtnetwork-module.html">C++ Classes</a></td><td >QDnsHostAddressRecord</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right"><a href="qtnetwork-index.html">Qt 5.12.6 Reference Documentation</a></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">QDnsHostAddressRecord Class</h1>
<!-- $$$QDnsHostAddressRecord-brief -->
<p>The <a href="qdnshostaddressrecord.html">QDnsHostAddressRecord</a> class stores information about a host address record. <a href="#details">More...</a></p>
<!-- @@@QDnsHostAddressRecord -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign">   <span class="preprocessor">#include &lt;QDnsHostAddressRecord&gt;</span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> QT += network</td></tr></table></div><ul>
<li><a href="qdnshostaddressrecord-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="qdnshostaddressrecord.html#QDnsHostAddressRecord">QDnsHostAddressRecord</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qdnshostaddressrecord.html#QDnsHostAddressRecord-1">QDnsHostAddressRecord</a></b>(const QDnsHostAddressRecord &amp;<i>other</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qdnshostaddressrecord.html#dtor.QDnsHostAddressRecord">~QDnsHostAddressRecord</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qdnshostaddressrecord.html#name">name</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qdnshostaddressrecord.html#swap">swap</a></b>(QDnsHostAddressRecord &amp;<i>other</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> quint32 </td><td class="memItemRight bottomAlign"><b><a href="qdnshostaddressrecord.html#timeToLive">timeToLive</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QHostAddress </td><td class="memItemRight bottomAlign"><b><a href="qdnshostaddressrecord.html#value">value</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QDnsHostAddressRecord &amp;</td><td class="memItemRight bottomAlign"><b><a href="qdnshostaddressrecord.html#operator-eq">operator=</a></b>(QDnsHostAddressRecord &amp;&amp;<i>other</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QDnsHostAddressRecord &amp;</td><td class="memItemRight bottomAlign"><b><a href="qdnshostaddressrecord.html#operator-eq-1">operator=</a></b>(const QDnsHostAddressRecord &amp;<i>other</i>)</td></tr>
</table></div>
<a name="details"></a>
<!-- $$$QDnsHostAddressRecord-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>The <a href="qdnshostaddressrecord.html">QDnsHostAddressRecord</a> class stores information about a host address record.</p>
<p>When performing an address lookup, zero or more records will be returned. Each record is represented by a <a href="qdnshostaddressrecord.html">QDnsHostAddressRecord</a> instance.</p>
</div>
<p><b>See also </b><a href="qdnslookup.html">QDnsLookup</a>.</p>
<!-- @@@QDnsHostAddressRecord -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QDnsHostAddressRecord[overload1]$$$QDnsHostAddressRecord -->
<h3 class="fn" id="QDnsHostAddressRecord"><a name="QDnsHostAddressRecord"></a>QDnsHostAddressRecord::<span class="name">QDnsHostAddressRecord</span>()</h3>
<p>Constructs an empty host address record object.</p>
<!-- @@@QDnsHostAddressRecord -->
<!-- $$$QDnsHostAddressRecord$$$QDnsHostAddressRecordconstQDnsHostAddressRecord& -->
<h3 class="fn" id="QDnsHostAddressRecord-1"><a name="QDnsHostAddressRecord-1"></a>QDnsHostAddressRecord::<span class="name">QDnsHostAddressRecord</span>(const <span class="type"><a href="qdnshostaddressrecord.html#QDnsHostAddressRecord">QDnsHostAddressRecord</a></span> &amp;<i>other</i>)</h3>
<p>Constructs a copy of <i>other</i>.</p>
<!-- @@@QDnsHostAddressRecord -->
<!-- $$$~QDnsHostAddressRecord[overload1]$$$~QDnsHostAddressRecord -->
<h3 class="fn" id="dtor.QDnsHostAddressRecord"><a name="dtor.QDnsHostAddressRecord"></a>QDnsHostAddressRecord::<span class="name">~QDnsHostAddressRecord</span>()</h3>
<p>Destroys a host address record.</p>
<!-- @@@~QDnsHostAddressRecord -->
<!-- $$$name[overload1]$$$name -->
<h3 class="fn" id="name"><a name="name"></a><span class="type"><a href="../qtcore/qstring.html">QString</a></span> QDnsHostAddressRecord::<span class="name">name</span>() const</h3>
<p>Returns the name for this record.</p>
<!-- @@@name -->
<!-- $$$swap[overload1]$$$swapQDnsHostAddressRecord& -->
<h3 class="fn" id="swap"><a name="swap"></a><span class="type">void</span> QDnsHostAddressRecord::<span class="name">swap</span>(<span class="type"><a href="qdnshostaddressrecord.html#QDnsHostAddressRecord">QDnsHostAddressRecord</a></span> &amp;<i>other</i>)</h3>
<p>Swaps this host address record instance with <i>other</i>. This function is very fast and never fails.</p>
<!-- @@@swap -->
<!-- $$$timeToLive[overload1]$$$timeToLive -->
<h3 class="fn" id="timeToLive"><a name="timeToLive"></a><span class="type"><a href="../qtcore/qtglobal.html#quint32-typedef">quint32</a></span> QDnsHostAddressRecord::<span class="name">timeToLive</span>() const</h3>
<p>Returns the duration in seconds for which this record is valid.</p>
<!-- @@@timeToLive -->
<!-- $$$value[overload1]$$$value -->
<h3 class="fn" id="value"><a name="value"></a><span class="type"><a href="qhostaddress.html">QHostAddress</a></span> QDnsHostAddressRecord::<span class="name">value</span>() const</h3>
<p>Returns the value for this host address record.</p>
<!-- @@@value -->
<!-- $$$operator=[overload1]$$$operator=QDnsHostAddressRecord&& -->
<h3 class="fn" id="operator-eq"><a name="operator-eq"></a><span class="type"><a href="qdnshostaddressrecord.html#QDnsHostAddressRecord">QDnsHostAddressRecord</a></span> &amp;QDnsHostAddressRecord::<span class="name">operator=</span>(<span class="type"><a href="qdnshostaddressrecord.html#QDnsHostAddressRecord">QDnsHostAddressRecord</a></span> &amp;&amp;<i>other</i>)</h3>
<p>Move-assignment operator.</p><!-- @@@operator= -->
<!-- $$$operator=$$$operator=constQDnsHostAddressRecord& -->
<h3 class="fn" id="operator-eq-1"><a name="operator-eq-1"></a><span class="type"><a href="qdnshostaddressrecord.html#QDnsHostAddressRecord">QDnsHostAddressRecord</a></span> &amp;QDnsHostAddressRecord::<span class="name">operator=</span>(const <span class="type"><a href="qdnshostaddressrecord.html#QDnsHostAddressRecord">QDnsHostAddressRecord</a></span> &amp;<i>other</i>)</h3>
<p>Assigns the data of the <i>other</i> object to this record object, and returns a reference to it.</p>
<!-- @@@operator= -->
</div>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2019 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>