Questions on the new KIO::FileJob API
thiago at kde.org
Mon May 5 21:56:37 BST 2008
>As the FileProtocol:: implementation is only partially working and i
>have the suspicion that nobody has used it yet, i guess there is some
>room for interpretation. :-) Particularly regarding my second question.
>If it's supposed to work like QIODevice::readData() and QIODevice::write
>() then it could as well read/write less than requested and instantly
>move to a seekable state again.
All of the QIODevice-derived classes (QFile, QProcess, QTcpSocket) write
as much as you pass. They never return less.
The reading depends on how much is buffered.
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: This is a digitally signed message part.
More information about the kde-core-devel