More Info

Revision 725525

(Back to digest)
 

Features in KDE Base

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

KService: support for storing Actions defined in .desktop files into ksycoca4.

While writing the unit test for this, I noticed that the binary representation (like, in ksycoca) of a single KService was 3700 bytes. This is because KConfigGroup::entryMap returns all translated entries. After filtering those out, the KService is down to 755 bytes; and the whole ksycoca4 went from 9.0M to 1.5M!

Seems to be an unexplained KConfig behavior change, which should be fixed, though.

File Changes

Added 2 files
/trunk/KDE/kdelibs/kdecore/services
 
/kserviceaction.cpp
 
/kserviceaction.h
Modified 7 files
/trunk/KDE/kdelibs/kdecore
 
/CMakeLists.txt
 
/services/kservice.cpp
 
/services/kservice.h
 
/services/kservice_p.h
 
/sycoca/ksycoca.h
 
/tests/kservicetest.cpp
 
/tests/kservicetest.h
9 files changed in total