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