12. Input/Output
- Reading and Writing Binary Data
- Reading and Writing Text
- Traversing Directories
- Embedding Resources
- Inter-Process Communication
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:
QProcess
, QTcpSocket
, QUdpSocket
, and QSslSocket
are sequential devices, meaning that the data can be accessed ...
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.