kDebug areas Be-Gone (almost)
Thanks to Marc Mutz's idea, one can now set their application debug area by telling the C++ compiler about it and then never having to remember that debug area again.
"Set it and forget it"
Simply add the following line into your application's top-level CMakeLists.txt
add_definitions(-DKDE_DEFAULT_DEBUG_AREA=XXXX)
(replacing XXXX with your debug area).
Then replace kDebug(XXXX)
with kDebug()
in your code and you never have to worry about remembering (or correctly typing) your debug area again.