which is the difference between kDebug() and kDebug(1204)?
Tsiapaliwkas Giorgos
terietor at gmail.com
Wed Mar 30 18:30:22 CEST 2011
On Wednesday, March 30, 2011 06:54:56 PM Aaron J. Seigo wrote:
> to do the same in your own project, do this in your CMakeLists.txt file:
>
> add_definitions(-DKDE_DEFAULT_DEBUG_AREA=1209)
>
> and replace the "1209" (that's what we use in libplasma) with some number
> of your chosing. voila... all kDebug() calls become kDebug(<your custom
> debug area>) automagically.
>
> woot.
thanks
especially the "trick" with the CMakeLists.txt file is very useful :)
More information about the Plasma-devel
mailing list