--===============2867676264333414303== Content-Type: multipart/signed; boundary="nextPart1707708.LfvgbyyDJT"; micalg="pgp-sha1"; protocol="application/pgp-signature" Content-Transfer-Encoding: quoted-printable --nextPart1707708.LfvgbyyDJT Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" On Sunday, October 28, 2012 23:45:14 Sebastian K=C3=BCgler wrote: > I'm running into a dependency problem, while working on the toolbox a= ctions. > ToolBoxes are plugins, but as we're moving to a fully QML-based works= pace, > we need to be able to do everything from the QML runtime -- including= we don't need to do everything from the QML runtime. this is a fatal fl= aw=20 virtually every other widget system has previously run into, and they e= nd up=20 with a (stupidly) huge API set that is baked into the bottom layers of = the=20 system and has all kinds of system-specific=20 dependencies/requirements/assumptions as a result. so .. what we tend to do is have the runtime be just, and only, that: a= =20 runtime that gets the component up and running and binds in the essenti= al,=20 generic API. that includes things like DataEngines and Services ... which allow us t= o=20 extend the available API dynamically without dependencies carried by th= e=20 runtime itself. > logout (exemplary for other "workspace" features). Basically, my prob= lem is > that I'd like to call KWorkSpace::requestShutDown(); which is in the = lib > kworkspace, and which I /assume/ we can't use or depend on from > kde-runtime. correct; and there should be no such code in kde-runtime anyways. this = should=20 be a Plasma::Service plugin which can be accessed from QML to trigger t= he=20 right behaviour. that Service can then be platform specific if needed, = shipped=20 in kde-workspace or even not be on a system at all. --=20 Aaron J. Seigo --nextPart1707708.LfvgbyyDJT Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEABECAAYFAlCOYgsACgkQ1rcusafx20O3LQCeNW8aSldm+HXsYFqkymmsOUTY kwIAoJ6ipd0bpvqMVLNCtNyAcPlta+gC =bNgp -----END PGP SIGNATURE----- --nextPart1707708.LfvgbyyDJT-- --===============2867676264333414303== 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 --===============2867676264333414303==--