Hi
Reading QBuffer documentation:
The question is: how new data can arrive in the buffer?
I mean, I declared a QBuffer:
QByteArray byteArray;
QBuffer buffer(&byteArray);
buffer.open(QIODevice::ReadWrite);
To copy to clipboard, switch view to plain text mode
In my thought new data is considered arrived if I write data in the byteArray directly:
byteArray.append("hallo");
byteArray.append("hallo");
To copy to clipboard, switch view to plain text mode
but readyRead() is never called
so how new data can arrive in the buffer to make readyRead() be emitted?
best reagards
Max
Bookmarks