#include <QtCore/qbytearray.h> #ifndef QBYTEARRAY_H class QByteArray{ /* Some contents are skipped to improve readability */ public: int indexOf(class QByteArray const & a, int from = 0) const /* ... */ }; #endif // QBYTEARRAY_H