last call for alcohol .. er .. BIC API changes

Kevin Ottens ervin at kde.org
Mon Nov 3 20:20:38 CET 2008


Le Monday 03 November 2008, Aaron J. Seigo a écrit :
> showCloseButton(bool show)?

API OCD Police!

I'd say it should be:
showCloseButton()+hideCloseButton()
or
setCloseButtonVisible(bool visible)

showCloseButton(bool) is mixing genres IMO (action verb used for a property).

Thanks for your attention to my mental disease.

Regards.
-- 
Kévin 'ervin' Ottens, http://ervin.ipsquad.net
"Ni le maître sans disciple, Ni le disciple sans maître,
Ne font reculer l'ignorance."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20081103/f3ff990b/attachment.sig 


More information about the Plasma-devel mailing list