Input/Output and Networking

These Qt Core classes are used to handle input and output to and from external devices, processes, files etc. as well as manipulating files and directories.

QBuffer

QIODevice interface for a QByteArray

QDataStream

Serialization of binary data to a QIODevice

QDir

Access to directory structures and their contents

QFile

Interface for reading from and writing to files

QFileDevice

Interface for reading from and writing to open files

QFileInfo

System-independent file information

QFileSystemWatcher

Interface for monitoring files and directories for modifications

QIODevice

The base interface class of all I/O devices in Qt

QImageReader

Format independent interface for reading images from files or other devices

QImageWriter

Format independent interface for writing images to files or other devices

QProcess

Used to start external programs and to communicate with them

QProcessEnvironment

Holds the environment variables that can be passed to a program

QResource

Interface for reading directly from resources

QSaveFile

Interface for safely writing to files

QSettings

Persistent platform-independent application settings

QSocketNotifier

Support for monitoring activity on a file descriptor

QStorageInfo

Provides information about currently mounted storage and drives

QTemporaryDir

Creates a unique directory for temporary use

QTemporaryFile

I/O device that operates on temporary files

QTextDocumentWriter

Format-independent interface for writing a QTextDocument to files or other devices

QTextStream

Convenient interface for reading and writing text

QUrl

Convenient interface for working with URLs

QUrlQuery

Way to manipulate a key-value pairs in a URL's query

© 2015 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. 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.