<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- io.qdoc --> <title>Input/Output and Networking | Qt Core 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="qtcore-index.html">Qt Core</a></td><td >Input/Output and Networking</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="sidebar-content" id="sidebar-content"></div></div> <h1 class="title">Input/Output and Networking</h1> <span class="subtitle"></span> <!-- $$$io-description --> <div class="descr"> <a name="details"></a> <p>These <a href="qtcore-index.html">Qt Core</a> classes are used to handle input and output to and from external devices, processes, files etc. as well as manipulating files and directories.</p> </div> <!-- @@@io --> <div class="table"><table class="annotated"> <tr class="odd topAlign"><td class="tblName"><p><a href="qbuffer.html">QBuffer</a></p></td><td class="tblDescr"><p>QIODevice interface for a QByteArray</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qdatastream.html">QDataStream</a></p></td><td class="tblDescr"><p>Serialization of binary data to a QIODevice</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qdir.html">QDir</a></p></td><td class="tblDescr"><p>Access to directory structures and their contents</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qfile.html">QFile</a></p></td><td class="tblDescr"><p>Interface for reading from and writing to files</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qfiledevice.html">QFileDevice</a></p></td><td class="tblDescr"><p>Interface for reading from and writing to open files</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qfileinfo.html">QFileInfo</a></p></td><td class="tblDescr"><p>System-independent file information</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qfilesystemwatcher.html">QFileSystemWatcher</a></p></td><td class="tblDescr"><p>Interface for monitoring files and directories for modifications</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qiodevice.html">QIODevice</a></p></td><td class="tblDescr"><p>The base interface class of all I/O devices in Qt</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="../qtgui/qimagereader.html">QImageReader</a></p></td><td class="tblDescr"><p>Format independent interface for reading images from files or other devices</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="../qtgui/qimagewriter.html">QImageWriter</a></p></td><td class="tblDescr"><p>Format independent interface for writing images to files or other devices</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qprocess.html">QProcess</a></p></td><td class="tblDescr"><p>Used to start external programs and to communicate with them</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qprocessenvironment.html">QProcessEnvironment</a></p></td><td class="tblDescr"><p>Holds the environment variables that can be passed to a program</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qresource.html">QResource</a></p></td><td class="tblDescr"><p>Interface for reading directly from resources</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qsavefile.html">QSaveFile</a></p></td><td class="tblDescr"><p>Interface for safely writing to files</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qsettings.html">QSettings</a></p></td><td class="tblDescr"><p>Persistent platform-independent application settings</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qsocketnotifier.html">QSocketNotifier</a></p></td><td class="tblDescr"><p>Support for monitoring activity on a file descriptor</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qstorageinfo.html">QStorageInfo</a></p></td><td class="tblDescr"><p>Provides information about currently mounted storage and drives</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qtemporarydir.html">QTemporaryDir</a></p></td><td class="tblDescr"><p>Creates a unique directory for temporary use</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qtemporaryfile.html">QTemporaryFile</a></p></td><td class="tblDescr"><p>I/O device that operates on temporary files</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="../qtgui/qtextdocumentwriter.html">QTextDocumentWriter</a></p></td><td class="tblDescr"><p>Format-independent interface for writing a QTextDocument to files or other devices</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qtextstream.html">QTextStream</a></p></td><td class="tblDescr"><p>Convenient interface for reading and writing text</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qurl.html">QUrl</a></p></td><td class="tblDescr"><p>Convenient interface for working with URLs</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qurlquery.html">QUrlQuery</a></p></td><td class="tblDescr"><p>Way to manipulate a key-value pairs in a URL's query</p></td></tr> </table></div> </div> </div> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</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>