Revision 1055c5f...

Go back to digest for 19th June 2011

Optimization in KDE Base

Vishesh Handa committed changes in [kde-runtime/nepomuk/strigiEventLoop] /services/strigi:

Make indexing of files asynchronous

The NepomukIndexer now returns immediately on calling indexFile().
When the file is indexed a signal indexingDone() is emitted.

This code is a little hard to follow with the stopping and
restarting of the timer, but it works very well.

File Changes

Modified 4 files
  • /services/strigi
  •   nepomuk/indexscheduler.cpp
  •   nepomuk/indexscheduler.h
  •   nepomuk/nepomukindexer.cpp
  •   nepomuk/nepomukindexer.h
4 files changed in total