Chapter 12. Input/Output

Input/Output

The need to read from or write to files or other devices is common to almost every application. Qt provides excellent support for I/O through QIODevice, a powerful abstraction that encapsulates “devices” capable of reading and writing blocks of bytes. Qt includes the following QIODevice subclasses:

QFile

Accesses files in the local file system and in embedded resources

QTemporaryFile

Creates and accesses temporary files in the local file system

QBuffer

Reads data from or writes data to a QByteArray

QProcess ...

Get C++ GUI Programming with Qt 4 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.