Revision 1204637

Go back to digest for 12th December 2010

Features in KDE Base

David Faure committed changes in /trunk/KDE/kdelibs/kdecore:

Further fixes to kDebug:
* Since KConfig works without a main componentdata nowadays (auto-created by kglobal), make kDebug work
pretty much the same in qt-only apps as in kde apps, including obeying kdebugrc settings. The only difference
is that area 0 (and unknown areas) are called qAppName() rather than main-component-data-name.
* Update that name when the main component data gets created, even after early kDebugs.
* Make the handling of unknown numbered areas more consistent (using the settings for area 0)
* Complete unittest for the "no component data" case, in a separate program called by kdebug_unittest.

File Changes

Added 1 files
  • /trunk/KDE/kdelibs/kdecore/tests/kdebug_qcoreapptest.cpp
Modified 5 files
  • /trunk/KDE/kdelibs/kdecore
  •   /io/kdebug.cpp
  •   /tests/CMakeLists.txt
  •   /tests/kdebug_unittest.cpp
  •   /tests/kdebug_unittest.h
  •   /tests/qcoreapptest.cpp
6 files changed in total