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