#include <QtCore/qbytearray.h> #ifndef QBYTEARRAY_H class QByteArray{ /* Some contents are skipped to improve readability */ #ifndef QT_NO_CAST_TO_ASCII public: class QByteArray& replace(char c, struct QString const & after); #endif /* ... */ }; #endif // QBYTEARRAY_H