--===============1186376804== Content-Type: multipart/signed; boundary="nextPart1253011.VgbHKW6a2b"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart1253011.VgbHKW6a2b Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello, I've been hacking a bit and, using the pytime DataEngine as an example,=20 successfully built a "dummy" Python DataEngine that fetches records from NC= BI=20 on a hard-coded query and sets data correctly. I admit it was surprisingly= =20 easy to set up. Although my knowledge of C++ is zero, I have been reading some of the API a= nd=20 the tutorials on TechBase, to tackle the next big question: how to make the= =20 source retrieval dependent on an "external" input, e.g. that would come fro= m=20 the future applet interface.=20 Let's make an example to make things clearer. A user may want to search for= =20 the term "foo", and another for the term "bar", and of course, they would g= et=20 different results. How can I make the DataEngine aware that the query=20 parameter should be "foo" in one case, and "bar" in the other? I have been reading the description of DataContainer to see (as per previou= s=20 suggestion) about subclassing it, but I still didn't find very clear *if* t= he=20 thing I'm looking for is doable with the current API. Apologies for the message if it's somewhat stupid (I admit I don't have a b= ig=20 programming experience - all my past work has been, with few exceptions,=20 confined to file manipulation). --nextPart1253011.VgbHKW6a2b 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) iEYEABECAAYFAklae1gACgkQmnRxFtM0wqSTMwCfVfz0PBOJSgOt1rHMrVijvIKY xGYAoMLBjzzEKE4KaW7AlMyilEx1ZyLE =lK3T -----END PGP SIGNATURE----- --nextPart1253011.VgbHKW6a2b-- --===============1186376804== 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 --===============1186376804==--