On October 1, 2009, Matteo Agostinelli wrote:
> On Wed, Sep 30, 2009 at 19:29, Aaron J. Seigo <ase...@kde.org> wrote:
> > On September 30, 2009, Matteo Agostinelli wrote:
> >> Also, I would like to add that this is not meant to be a replacement of
> >> the existing calculator but an optional "enhanced" calculator, since it
> >> requires an additional external dependency (libqalculate). So IMO the
> >> current choice of branding (name and icon) could be acceptable. If there
> >
> > so i finally got it built and found some time to test it. some input:
> >
> > * it uses QHttp; it must use KIO instead
> >
> > * the network access in QalculateEngine::updateExchangeRates() is
> > blocking rather than async
> 
> Is it ok if I use KIO::NetAccess:download()? I see in the
> documentation that "The functions appear to be blocking, but the Qt
> event loop continues running while the operations are handled. This
> means that the GUI will not freeze." So is this function suitable in
> this case?

i believe this only allows for repaints, not user interaction with other 
widgets or further processing of non-event driven application code which is 
the important bit in this case. it needs to be properly async.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to