O'Reilly logo

C++ GUI Programming with Qt 4 by Mark Summerfield, Jasmin Blanchette

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required