[Digikam-devel] code cleanup

Johannes Wienke languitar at semipol.de
Tue Feb 2 19:35:15 GMT 2010


Am 02.02.2010 20:29 schrieb Jens Müller:
> histogrambox and curvesbox use enum type 'HistogramScale' for get and set 
> methods (defined in globals.h), but use int for get and set methods for 
> channeltype as there is also a enum type 'ChannelType' also defined in 
> globals.h. I want to make channeltype type-safe (use ChannelType enum) and 
> have therefore to touch a dozen of files. Are there any objections against?

I also notice this some time ago and tried to fix it but gave up after
so many places that needed a change. But I would definitiley say that
this is is the right way.

Johannes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20100202/88a95023/attachment.sig>


More information about the Digikam-devel mailing list