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