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