Skip to content
Snippets Groups Projects
qtnetwork-download-example.html 2.78 KiB
Newer Older
  • Learn to ignore specific revisions
  • <!DOCTYPE html>
    <html lang="en">
    <head>
      <meta charset="utf-8">
    <!-- network-download.qdoc -->
      <title>Network Download Example | Qt Network 5.15.0</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">
            <ul>
    <li><a href="../qtdoc/index.html">Qt 5.15</a></li>
    <li><a href="qtnetwork-index.html">Qt Network</a></li>
    <li>Network Download Example</li>
    <li id="buildversion"><a href="qtnetwork-index.html">Qt 5.15.0 Reference Documentation</a></li>
        </ul>
        </div>
    </div>
    <div class="content">
    <div class="line">
    <div class="content mainContent">
    <div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
    <h1 class="title">Network Download Example</h1>
    <span class="subtitle"></span>
    <!-- $$$download-brief -->
    <p>Demonstrates how to use networking APIs for multiple downloads.</p>
    <!-- @@@download -->
    <!-- $$$download-description -->
    <div class="descr"> <a name="details"></a>
    <p>The Network Download example shows how to perform multiple downloads in parallel using the <a href="qnetworkaccessmanager.html">QNetworkAccessManager</a> class.</p>
    <p>This example is designed to be run from the command-line.</p>
    <p>The <a href="qtnetwork-downloadmanager-example.html">Network Download Manager Example</a> implements a more complex system that places files in a queue for sequential downloading.</p>
    <p><a href="https://code.qt.io/cgit/qt/qtbase.git/tree/examples/network/download?h=5.15">Example project @ code.qt.io</a></p>
    </div>
    <!-- @@@download -->
            </div>
           </div>
       </div>
       </div>
    </div>
    <div class="footer">
       <p>
       <acronym title="Copyright">&copy;</acronym> 2020 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>