From kde-panel-devel Wed Jul 28 16:12:55 2010 From: "Aaron J. Seigo" Date: Wed, 28 Jul 2010 16:12:55 +0000 To: kde-panel-devel Subject: Re: integrating plasma into kdevelop's dashboard Message-Id: <201007280913.02491.aseigo () kde ! org> X-MARC-Message: https://marc.info/?l=kde-panel-devel&m=128033361326769 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============0999068915==" --===============0999068915== Content-Type: multipart/signed; boundary="nextPart3949340.WXn6FUzmiH"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart3949340.WXn6FUzmiH Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On July 28, 2010, Aleix Pol wrote: > I thought I could use that data engine approach but looks like that all > projects would have to share the same DataEngine instance so I still need > to tell them separately what project do they have to target somehow. what you want is a mapping between a containment and a project, essentially, right? assuming you have such a mapping somewhere, the DataEngine could have one source per Containment, keyed by the Containment's id. then the Applet can, in it's init(), do: dataEngine("org.kdevelop.projects").connectSource(QString::number(containmen t()->id()), this); then all that's needed is to update the DataEngine. this can be done in any number of ways, depending on the internals of your app. =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 Development Frameworks --nextPart3949340.WXn6FUzmiH Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) iEYEABECAAYFAkxQVw4ACgkQ1rcusafx20MRXACgikCECTwU404GhhkTCVHH9WE4 /hcAniXLt9X0gKt+vm6UcwgTKi8BrWaj =iEdu -----END PGP SIGNATURE----- --nextPart3949340.WXn6FUzmiH-- --===============0999068915== 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 --===============0999068915==--