#include <QtCore/qbytearray.h> #ifndef QBYTEARRAY_H class QByteRef{ /* Some contents are skipped to improve readability */ private: inline QByteRef(class QByteArray& array, int idx); /* ... */ }; #endif // QBYTEARRAY_H