#include <QtCore/qbytearray.h> #ifndef QBYTEARRAY_H class QByteArray{ /* Some contents are skipped to improve readability */ public: static class QByteArray fromRawData(char const *, int size); /* ... */ }; #endif // QBYTEARRAY_H