#include <QtCore/qbytearray.h> #ifndef QBYTEARRAY_H class QByteArray{ /* Some contents are skipped to improve readability */ public: class QByteArray mid(int index, int len = -1) const /* ... */ }; #endif // QBYTEARRAY_H