Qalculate plasmoid in kdeplasma-addons

Aaron J. Seigo aseigo at kde.org
Thu Oct 1 18:25:39 CEST 2009


On October 1, 2009, Matteo Agostinelli wrote:
> On Wed, Sep 30, 2009 at 19:29, Aaron J. Seigo <aseigo at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20091001/60a7c2fc/attachment.sig 


More information about the Plasma-devel mailing list