[Nepomuk] Review Request 108469: Add fileIndexingDone dbus signal

Jörg Ehrichs joerg.ehrichs at gmx.de
Fri Jan 18 10:18:52 UTC 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/108469/
-----------------------------------------------------------

Review request for Nepomuk and Vishesh Handa.


Description
-------

In order to start the webminer right after the fileindexer did his job
this signal is needed.
    
Usually the service is started via the eventmonitor after the usual 2min
idletime. If there are no files with kext_indexinglevel 2 the scheduler
is stopped till the next 2min idle time kicks in and the scheduler is 
executed again.
    
Now with this signal the webminer scheduler can look for new stuff once
new files are indexed.
    
This is extreml useful if indexing on Normal mode is enabled in the
nepomukstrigirc.

With this signal right after downloading a pdf/video the fileindexer
extracts its part and the webminer can be started right away, thus the
user can see immediately what nepomuk can do for them.


Diffs
-----

  interfaces/org.kde.nepomuk.FileIndexer.xml 24996f3 
  services/fileindexer/fileindexer.h 771babf 
  services/fileindexer/fileindexer.cpp 111f968 
  services/fileindexer/indexscheduler.h 64ed4c3 
  services/fileindexer/indexscheduler.cpp 61aac94 

Diff: http://git.reviewboard.kde.org/r/108469/diff/


Testing
-------

* add patch
* open qdbusviewwer and connect to fileIndexingDone signal of the fileindexer
* copy a file into one of the watched fodlers
* signal gets emitted

works for me


Thanks,

Jörg Ehrichs

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/nepomuk/attachments/20130118/4486ca1d/attachment.html>


More information about the Nepomuk mailing list