KDE is not an OS platform... (And neither is Gnome)

David Faure faure at kde.org
Wed Nov 4 14:12:34 GMT 2009


On Wednesday 04 November 2009, John Tapsell wrote:
> 2009/11/4 David Faure <faure at kde.org>:
> > On Wednesday 04 November 2009, Christoph Feck wrote:
> >> On Wednesday 04 November 2009 00:23:04 nf2 wrote:
> >> > Qt in particular, because it lacks an async file-IO API.
> >>
> >> QIODevice (the class which QFile inherits from) is asynchronous,
> >> at least API-wise.
> >
> > But only API wise.
> > QFile doesn't emit readyRead like a socket does. It just doesn't make
> > sense in the "common case" (local files).
> 
> Why doesn't it make sense?  Consider opening  /var/log/messages which
> is being continually appended to.

I said "common case" :)
Log files are special, and probably represent 0.0001% of the overall usage of 
QFile...

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Sponsored by Nokia to work on KDE, incl. Konqueror (http://www.konqueror.org).




More information about the kde-core-devel mailing list