[Kde-imaging] Fwd: extragear/graphics/kipi-plugins
Aaron J. Seigo
aseigo at kde.org
Mon May 25 23:19:27 CEST 2009
On Sunday 24 May 2009, Andi Clemens wrote:
> Hi,
>
> nearly 70% of the KIPI code had a notation like this:
>
> kDebug(51000), the rest was noted as KDebug ( 51000 ) .
> To unify the code, I have converted everything to the first version.
> I hope this is ok for everybody. If not, please tell me, I will revert
> those plugins again.
>
> Andi
as a related aside, here's a trick i learned last year that's really cool imo:
put this line in your CMakeLists.txt file:
add_definitions(-DKDE_DEFAULT_DEBUG_AREA=51000)
and then any usage of kDebug() by code from there down in the tree will
automatically use 51000 as the debug area. very nice for changing the debug
area later and a lot less typing as you go :)
--
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 Software
-------------- 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/kde-imaging/attachments/20090525/1437dd46/attachment.sig
More information about the Kde-imaging
mailing list