--===============0971689779== Content-Type: multipart/signed; boundary="nextPart1734002.meGiWQrHet"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart1734002.meGiWQrHet Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable On June 30, 2009 05:09:21 L Pierre wrote: > Hi, > > Is it viable and/or a reasonable rfe to add a setShortcut() method/member > fucntion to the Plasma::IconWidget class? > > I'm using Plasma::IconWidget as a button in Plasma. Plasma::IconWidget do= es > not have nativeWidget property or members to use say a QToolButton as > native widget which would then give me a setShortcut() method/member > fucntion. > > Maybe there is another way of doing this that I'm missing or not know > about? > make an action, setShortcut on the action, then create the Icon from the=20 action? the only trick is, there are some graphicsview bugs (actually they may be=20 resolved now, haven't had time to check) so you have to do one extra thing:= =20 add the action to the Applet with addAction("somename", myAction); =2D-=20 This message brought to you by eevil bananas and the number 3. www.chani3.com --nextPart1734002.meGiWQrHet Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAkpKLDIACgkQeGbAwpIS3GzHZQCg1yocKy6OqDHqHUFbOdZHG60D rJAAn3Y2MQINd8opMKFiMosPky8Z1qjy =CVmN -----END PGP SIGNATURE----- --nextPart1734002.meGiWQrHet-- --===============0971689779== 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 --===============0971689779==--