Sophie

Sophie

distrib > Mageia > 6 > x86_64 > media > core-updates > by-pkgid > 768f7d9f703884aa2562bf0a651086df > files > 724

qtbase5-doc-5.9.4-1.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" />
<!-- qtcore-index.qdoc -->
  <title>Qt Core 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 >Qt Core</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="#getting-started">Getting Started</a></li>
<li class="level1"><a href="#core-functionalities">Core Functionalities</a></li>
<li class="level1"><a href="#threading-and-concurrent-programming">Threading and Concurrent Programming</a></li>
<li class="level1"><a href="#input-output-resources-and-containers">Input/Output, Resources, and Containers</a></li>
<li class="level1"><a href="#additional-frameworks">Additional Frameworks</a></li>
<li class="level1"><a href="#licenses-and-attributions">Licenses and Attributions</a></li>
<li class="level1"><a href="#reference">Reference</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Qt Core</h1>
<span class="subtitle"></span>
<!-- $$$qtcore-index.html-description -->
<div class="descr"> <a name="details"></a>
<a name="getting-started"></a>
<h2 id="getting-started">Getting Started</h2>
<p>All other Qt modules rely on this module. To include the definitions of the module's classes, use the following directive:</p>
<pre class="cpp">

  <span class="preprocessor">#include &lt;QtCore&gt;</span>

</pre>
<p>If you use <a href="../qmake/qmake-manual.html">qmake</a> to build your projects, Qt Core is included by default.</p>
<a name="core-functionalities"></a>
<h2 id="core-functionalities">Core Functionalities</h2>
<p>Qt adds these features to C++:</p>
<ul>
<li>a very powerful mechanism for seamless object communication called signals and slots</li>
<li>queryable and designable object properties</li>
<li>hierarchical and queryable object trees that organize</li>
<li>object ownership in a natural way with guarded pointers (<a href="qpointer.html">QPointer</a>)</li>
<li>a dynamic cast that works across library boundaries</li>
</ul>
<p>The following pages provide more information about Qt's core features:</p>
<ul>
<li><a href="metaobjects.html">The Meta-Object System</a></li>
<li><a href="properties.html">The Property System</a></li>
<li><a href="object.html">Object Model</a></li>
<li><a href="objecttrees.html">Object Trees &amp; Ownership</a></li>
<li><a href="signalsandslots.html">Signals &amp; Slots</a></li>
</ul>
<a name="threading-and-concurrent-programming"></a>
<h2 id="threading-and-concurrent-programming">Threading and Concurrent Programming</h2>
<p>Qt provides thread support in the form of platform-independent threading classes, a thread-safe way of posting events, and signal-slot connections across threads. Multithreaded programming is also a useful paradigm for performing time-consuming operations without freezing the user interface of an application.</p>
<p>The Thread Support in Qt page contains information on implementing threads in applications. Additional concurrent classes are provided by the <a href="../qtconcurrent/qtconcurrent-index.html">Qt Concurrent</a> module.</p>
<a name="input-output-resources-and-containers"></a>
<h2 id="input-output-resources-and-containers">Input/Output, Resources, and Containers</h2>
<p>Qt provides a resource system for organizing application files and assets, a set of containers, and classes for receiving input and printing output.</p>
<ul>
<li><a href="containers.html">Container Classes</a></li>
<li><a href="datastreamformat.html">Serializing Qt Data Types</a></li>
<li><a href="implicit-sharing.html">Implicit Sharing</a></li>
</ul>
<p>In addition, Qt Core provides a platform-independent mechanism for storing binary files in the application's executable.</p>
<ul>
<li><a href="resources.html">The Qt Resource System</a></li>
</ul>
<a name="additional-frameworks"></a>
<h2 id="additional-frameworks">Additional Frameworks</h2>
<p>Qt Core also provides some of Qt's key frameworks.</p>
<ul>
<li><a href="animation-overview.html">The Animation Framework</a></li>
<li><a href="json.html">JSON Support in Qt</a></li>
<li><a href="statemachine-api.html">The State Machine Framework</a></li>
<li>How to Create Qt Plugins</li>
<li><a href="eventsandfilters.html">The Event System</a></li>
</ul>
<a name="licenses-and-attributions"></a>
<h2 id="licenses-and-attributions">Licenses and Attributions</h2>
<p>Qt Core is available under commercial licenses from The Qt Company. In addition, it is available under the GNU Lesser General Public License, version 3, or the GNU General Public License, version 2. See Qt Licensing for further details.</p>
<p>Executables on Windows potentially link against The qtmain Library. This library is available under commercial licenses, and in addition under the BSD 3-clause &quot;New&quot; or &quot;Revised&quot; License.</p>
<p>Furthermore Qt Core potentially contains third party modules under following permissive licenses:</p>
<div class="table"><table class="annotated">
<tr class="odd topAlign"><td class="tblName"><p><a href="qtcore-attribution-zlib.html">Data Compression Library (zlib)</a></p></td><td class="tblDescr"><p>ZLib license</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qtcore-attribution-easing.html">Easing Equations by Robert Penner</a></p></td><td class="tblDescr"><p>BSD 3-clause &quot;New&quot; or &quot;Revised&quot; License</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qtcore-attribution-doubleconversion.html">Efficient Binary-Decimal and Decimal-Binary Conversion Routines for IEEE Doubles</a></p></td><td class="tblDescr"><p>BSD 3-clause &quot;New&quot; or &quot;Revised&quot; License</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qtcore-attribution-freebsd.html">FreeBSD strtoll and strtoull</a></p></td><td class="tblDescr"><p>BSD 3-clause &quot;New&quot; or &quot;Revised&quot; License</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qtcore-attribution-md4.html">MD4</a></p></td><td class="tblDescr"><p>Public Domain</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qtcore-attribution-md5.html">MD5</a></p></td><td class="tblDescr"><p>Public Domain</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qtcore-attribution-pcre2.html">PCRE2</a></p></td><td class="tblDescr"><p>BSD 3-clause &quot;New&quot; or &quot;Revised&quot; License</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qtcore-attribution-qtemporaryfile.html">Parts of QTemporaryFile</a></p></td><td class="tblDescr"><p>BSD 3-clause &quot;New&quot; or &quot;Revised&quot; License</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qtcore-attribution-qeventdispatcher-cf.html">QEventDispatcher on macOS</a></p></td><td class="tblDescr"><p>BSD 3-clause &quot;New&quot; or &quot;Revised&quot; License</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qtcore-attribution-sha1.html">Secure Hash Algorithm SHA-1</a></p></td><td class="tblDescr"><p>Public Domain</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qtcore-attribution-sha3-keccak.html">Secure Hash Algorithm SHA-3 - Keccak</a></p></td><td class="tblDescr"><p>Creative Commons Zero v1.0 Universal</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qtcore-attribution-sha3-endian.html">Secure Hash Algorithm SHA-3 - brg_endian</a></p></td><td class="tblDescr"><p>BSD 3-clause &quot;New&quot; or &quot;Revised&quot; License</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qtcore-attribution-rfc6234.html">Secure Hash Algorithms SHA-384 and SHA-512</a></p></td><td class="tblDescr"><p>BSD 3-clause &quot;New&quot; or &quot;Revised&quot; License</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qtcore-attribution-qeucjpcodec.html">Text Codec: EUC-JP</a></p></td><td class="tblDescr"><p>BSD 2-clause &quot;Simplified&quot; License</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qtcore-attribution-qeuckrcodec.html">Text Codec: EUC-KR</a></p></td><td class="tblDescr"><p>BSD 2-clause &quot;Simplified&quot; License</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qtcore-attribution-qbkcodec.html">Text Codec: GBK</a></p></td><td class="tblDescr"><p>BSD 2-clause &quot;Simplified&quot; License</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qtcore-attribution-qjiscodec.html">Text Codec: ISO 2022-JP (JIS)</a></p></td><td class="tblDescr"><p>BSD 2-clause &quot;Simplified&quot; License</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qtcore-attribution-qsjiscodec.html">Text Codec: Shift-JIS</a></p></td><td class="tblDescr"><p>BSD 2-clause &quot;Simplified&quot; License</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qtcore-attribution-qtsciicodec.html">Text Codec: TSCII</a></p></td><td class="tblDescr"><p>BSD 2-clause &quot;Simplified&quot; License</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qtcore-attribution-qbig5codecs.html">Text Codecs: Big5, Big5-HKSCS</a></p></td><td class="tblDescr"><p>BSD 2-clause &quot;Simplified&quot; License</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qtcore-attribution-psl.html">The Public Suffix List</a></p></td><td class="tblDescr"><p>Mozilla Public License 2.0</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qtcore-attribution-cldr-data.html">Unicode CLDR (Unicode Common Locale Data Repository)</a></p></td><td class="tblDescr"><p>Unicode Data Files and Software License</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qtcore-attribution-forkfd.html">forkfd</a></p></td><td class="tblDescr"><p>MIT License</p></td></tr>
</table></div>
<a name="reference"></a>
<h2 id="reference">Reference</h2>
<p>These are links to the API reference materials.</p>
<ul>
<li><a href="qtcore-module.html">C++ Classes</a><ul>
<li><a href="animation.html">Animation Classes</a></li>
<li>Threading Classes</li>
<li><a href="containers.html">Container Classes</a></li>
<li><a href="plugins.html">Plugin Classes</a></li>
<li><a href="implicit-sharing.html#implicitly-shared-classes">Implicitly Shared Classes</a></li>
<li><a href="statemachine.html">State Machine Classes</a></li>
<li><a href="io.html">Input/Output Classes</a></li>
<li><a href="events.html">Event Classes</a></li>
</ul>
</li>
</ul>
</div>
<!-- @@@qtcore-index.html -->
        </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>