Revision 788523

Go back to digest for 23rd March 2008

Features in KDE Base

Sebastian Trueg committed changes in /trunk/KDE/kdelibs/nepomuk/core:

Two new things. One pretty major.

1. (not the major one) Added a massupdate job which handles updates of tags in an async KJob

The same job will soon be used in Dolphin to not block the GUI while rating or commenting a large number of files. The plan is to at some point make this class public API.

2. (the pretty major thing) Nepomuk::MainModel is a new class (not yet in the public API but I am thinking about it) that connects to the nepomuk server transparently.

Thus, while previously one would have to create a Soprano::Client::DBusClient and call createModel (if one did not want to use the ResourceManager) one can now simply create a MainModel.

But the major thing is that MainModel does not use DBus for communication anymore but the local socket connection which is much faster. D-Bus is only used for signal relaying and as a fallback.

Thank you, Trolltech, for QLocalServer and QLocalSocket which made this possible (previously this did only work on linux).

File Changes

Added 4 files
  • /trunk/KDE/kdelibs/nepomuk/core
  •   /nepomukmainmodel.cpp
  •   /nepomukmainmodel.h
  •   /ui/nepomukmassupdatejob.cpp
  •   /ui/nepomukmassupdatejob.h
Modified 5 files
  • /trunk/KDE/kdelibs/nepomuk/core
  •   /CMakeLists.txt
  •   /resourcefiltermodel.h
  •   /resourcemanager.cpp
  •   /ui/kmetadatatagwidget.cpp
  •   /ui/kmetadatatagwidget.h
9 files changed in total