--===============0490725963== Content-Type: multipart/signed; boundary="nextPart1769823.PPznlUqXRo"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart1769823.PPznlUqXRo Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Saturday 24 November 2007, Ryan Bitanga wrote: > the data engine isn't as simple as I had hoped. Data engines are more > suitable for receiving signals from objects that aren't connected to > it, e.g. filesystem and network information, or accepting input with > an associated output. not really. > However, there seems to be no lightweight=20 > message passing, e.g. sending a string to the data engine without that is correct. the DataEngine class is currently designed for read-only. = you=20 are the second person to ask for read-write, so it's probably something we= =20 need to look at for 4.1 given the interesting things you were trying, it really does show that some= =20 thought needs to go into this to prevent people from doing truly outlandish= =20 things that break plasma concepts. > needing an associated data object. The query method returns an unused > empty Data object and seems quite wasteful. that's also completely abusing the point of the query method. > Even a signal and slot=20 > implementation would require me to include the header file of the data > engine, no it doesn't. signals and slots are just const char*'s; there is no=20 compile-time validation of them, it's all runtime. so just use the=20 DataEngine* you get from dataEngine() in the applet (or however you are=20 getting it) and connect away. > A data engine would allow the information to be shared with a quick > launch plasmoid, which would need to notify the data engine of > additional launches itself, but a non-data engine would give allow me > to use a more suitable API. if by "suitable" one means "we're going back to making purpose-specific API= s=20 that are then completely un-interoperable with anything else on the desktop= "=20 then .. sure. ;) =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 Trolltech --nextPart1769823.PPznlUqXRo Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBHSpQy1rcusafx20MRAhvzAJ9Z0uikag7atgbyTltbMOraETNItwCgqZDe +g2L39VxlbUHrbc7S4Qa+Ww= =kjvx -----END PGP SIGNATURE----- --nextPart1769823.PPznlUqXRo-- --===============0490725963== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Panel-devel mailing list Panel-devel@kde.org https://mail.kde.org/mailman/listinfo/panel-devel --===============0490725963==--