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

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

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

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

QSocketNotifier

Support for monitoring activity on a file descriptor

QImageReader

Format independent interface for reading images from files or other devices

QImageWriter

Format independent interface for writing images to files or other devices

QTextDocumentWriter

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