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