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

QDirIterator

Iterator for directory entrylists

QFile

Interface for reading from and writing to files

QFileDevice

Interface for reading from and writing to open files

QFileInfo

OS-independent API to retrieve information about file system entries

QFileSystemWatcher

Interface for monitoring files and directories for modifications

QIODevice

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

QLockFile

Locking between processes using a file

QNtfsPermissionCheckGuard

RAII class to manage NTFS permission checking

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

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

Qt3DRender::QSceneLoader

Provides the facility to load an existing Scene

© 2024 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.