--===============0404780697== Content-Type: multipart/signed; boundary="nextPart8920207.WcmfObJLp2"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart8920207.WcmfObJLp2 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Saturday 27 December 2008, Luca Beltrame wrote: > Now, I wonder if this warrants the creation of a specific DataEngine or n= ot > . 90% of the functions to retrieve data are already implemented, what's > missing (and that I'd write) would be a part to parse the results (they > come in XML). As far as I understand, DataEngines work with data that is > either timed or continuous, while in this case it is the user that will > decide when to search, so they're not very fit for this purpose. ah, one other thing: for asynchronous actions, it can be easier to put that= in=20 a DataEngine and then not worry about all the bookkeeping in your=20 visualization. the easiest way i've found to do this is to subclass DataContainer and use= =20 that as the async wrapper. in fact, for 4.3 i'm toying with the idea of mak= ing=20 an AsyncDataContainer class or perhaps just extending the existing one with= =20 the dozen or so lines of code that end up repeated in this pattern (and whi= ch=20 are easy to get wrong) =2D-=20 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 Software --nextPart8920207.WcmfObJLp2 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAklWz6IACgkQ1rcusafx20NWvACfZb43hwP6Yt2PCj7G1PtOHg8a 83sAn3/mib4x5kWjDmrYSnMpwwnYMBTK =P4ph -----END PGP SIGNATURE----- --nextPart8920207.WcmfObJLp2-- --===============0404780697== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel --===============0404780697==--