[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: KDE is not an OS platform... (And neither is Gnome)
From:       David Faure <faure () kde ! org>
Date:       2009-11-04 14:12:34
Message-ID: 200911041512.35138.faure () kde ! org
[Download RAW message or body]

On Wednesday 04 November 2009, John Tapsell wrote:
> 2009/11/4 David Faure <faure@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@kde.org, http://www.davidfaure.fr
Sponsored by Nokia to work on KDE, incl. Konqueror (http://www.konqueror.org).
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic