From kde-devel Wed Apr 13 05:44:35 2011 From: "Aaron J. Seigo" Date: Wed, 13 Apr 2011 05:44:35 +0000 To: kde-devel Subject: Re: applet for plasma mobile Message-Id: <6822554.I30LoJ92Vu () freedom> X-MARC-Message: https://marc.info/?l=kde-devel&m=130267354430774 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============0270069811==" --===============0270069811== Content-Type: multipart/signed; boundary="nextPart1494455.o905hksh5E"; micalg="pgp-sha1"; protocol="application/pgp-signature" Content-Transfer-Encoding: 7Bit --nextPart1494455.o905hksh5E Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" On Tuesday, April 12, 2011 11:30:14 flash yan wrote: > But,I can't get the system volume information in the kde environment. > How can I get the system volume information using kde libraries? unfortunately, there is no 'easy' way as audio, particularly on Linux, is a bit of a complicated mess. kmix provides implementations for getting and interacting with controls for various available system. it is in kdemultimedia/kmix/, and particularly the backends/ directory is interesting. there has been work on creating a Plasma::DataEngine for kmix as well as a plasmoid. you can see the effort here: http://polentino911.wordpress.com/2011/03/04/kmix-plasmified-screencast/ -- 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 --nextPart1494455.o905hksh5E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEABECAAYFAk2lOE4ACgkQ1rcusafx20Nt0ACeJ9VHL1BlEF23MHFc+axJ+WLb 23kAnR+ClDd096xUIK2Nxo6bkIE7Dy+c =dAH8 -----END PGP SIGNATURE----- --nextPart1494455.o905hksh5E-- --===============0270069811== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============0270069811==--