[PATCH] RFC: Changing the language of individual KDE programs

Simon Hausmann hausmann at kde.org
Wed Mar 28 09:42:34 BST 2007


On Wednesday 28 March 2007 09:48:42 Krzysztof Lichota wrote:
> > I have added KPushButtonWithData class, I could not find any other way
> > of tying remove push button to label and language button. Maybe it could
> > be done better? Any ideas?

Yes, just use a regular push button and store whatever you want to store 
inside a QVariant in a dynamic property in the object.

Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070328/c3b1c877/attachment.sig>


More information about the kde-core-devel mailing list