#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(struct QString const & before, class QByteArray const & after); #endif /* ... */ }; #endif // QBYTEARRAY_H