Revision 746452

Go back to digest for 9th December 2007

Features in KDE Base

Frederik Gladhorn committed changes in /trunk/KDE/kdelibs/knewstuff/knewstuff2:

Keeping track of files during the installation. For compressed files this is achieved by going through the archive.

Uninstall now works using the above.

An app may access the list of files that were installed by using KNS::Entry::installedFiles() to get a QStringList of the files.

In detail:
- added a stringlist for the files to entry
- add handling of installedfiles tag in entryhandler (xml)
- use the local registry entry for these (obviously)
- add (set)installedFiles to entry class
- KNS::CoreEngine::unregisterEntry(Entry*) removes the associated files and registry entry - Zip and Tar code is now sharing the same code since both are derived from KArchive

File Changes

Modified 6 files
  • /trunk/KDE/kdelibs/knewstuff/knewstuff2
  •   /core/coreengine.cpp
  •   /core/coreengine.h
  •   /core/entry.cpp
  •   /core/entry.h
  •   /core/entryhandler.cpp
  •   /ui/kdxsbutton.cpp
6 files changed in total