#include <QtCore/qiodevice.h> #ifndef QIODEVICE_H class QIODevice: public QObject{ /* Some contents are skipped to improve readability */ #ifndef QT_NO_QOBJECT protected: void bytesWritten(qint64 bytes); #endif /* ... */ }; #endif // QIODEVICE_H