#include <QtCore/qiodevice.h> #ifndef QIODEVICE_H class QIODevice: public QObject{ /* Some contents are skipped to improve readability */ protected: virtual qint64 readData(char* data, qint64 maxlen) = 0; /* ... */ }; #endif // QIODEVICE_H