Revision c47f072...

Go back to digest for 10th April 2011

Features in KDE Base

Sebastian Trueg committed changes in [kde-runtime/nepomuk/removableStorageMode] /services/storage:

Imported the RemovableMediaModel from the Data Management Service.

The RemovableMediaModel automatically translates absolute file URLs into
and from their relative counterpart. This is done for all removable
storages for which the mount path is not fixed. This includes stuff
like USB keys and optical media, but also network shares like NFS or
Samba. While the latter often have a fixed mount path there are
situations in which that is not the case. Additionally if the mount
is not active the filewatch service will not remove all the existing
files in the index since their URLs are not translated and, thus, the
resources are not found under the mount path. As soon as the path is
mounted the URLs are translated again and the file watch service can
remove resource for the files that do no longer exist.

File Changes

Added 6 files
  • /services/storage
  •   nepomuk/removablemediamodel.cpp
  •   nepomuk/removablemediamodel.h
  •   nepomuk/test/qtest_dms.h
  •   nepomuk/test/removablemediamodeltest.cpp
  •   nepomuk/test/removablemediamodeltest.h
  •   nepomuk/test/solid/fakecomputer.xml
Modified 4 files
  • /services/storage
  •   nepomuk/CMakeLists.txt
  •   nepomuk/repository.cpp
  •   nepomuk/repository.h
  •   nepomuk/test/CMakeLists.txt
10 files changed in total