26.09.2011, в 14:41, Thiago Macieira написал(а):

> On Monday, 26 de September de 2011 14:10:57 Иван Комиссаров wrote:
>> Also, KIO doesn't seems to be 'vfs' in my opinion - it just provides
>> asynchronous methods for common operations. I'm not sure, but i don't think
>> people will be glad to see al this "job" stuff.
> 
> Just rename the classes.
> 
> QNetworkReply is a "job". You post the job using QNetworkAccessManager.
> 
> We're not suggesting using KIO. The API was designed back in 2000 for KDE 2 
> and, while it works, I'd rather have a smaller, leaner API for Qt. Some of 
> that learning I applied in QNetworkReply, for example, which works as a 
> hybrid 
> of KIO::TransferJob and KIO::StoredTransferJob.

Well, i meant people won't be happy to see Jobs as they are. API is ok in 
general, but it uses inheritance from KJob which is not necessary for VFS and 
Qt. So it should be renamed to class that looks like job, behaves like a job, 
but not a "job" in API. We can't do that in KIO, so we have to reinvent wheel)
_______________________________________________
Qt5-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback

Reply via email to