Chapter 12. 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:


Accesses files in the local file system and in embedded resources


Creates and accesses temporary files in the local file system


Reads data from or writes data to a QByteArray

QProcess ...

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

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.