[Nepomuk] Review Request 108576: Add dbus interface to the FileWatcher for status messages
Jörg Ehrichs
joerg.ehrichs at gmx.de
Thu Jan 24 19:15:46 UTC 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/108576/
-----------------------------------------------------------
Review request for Nepomuk and Vishesh Handa.
Description
-------
The status of the current operation (move/remove metadata) is exported
via dbus to show what is going on.
New dbus methods
* statusMessage - idle message or operation + url
* isIndexing - true/false depending if something is happening
New signals
* indexingStarted
* indexingStopped - only emitted if nothing happend for 5 seconds
* status(int status, string msg) - the integer shows idle/active state
The integer for the status signal was from akonadi_nepomuk feeder
thus we do not need to query if the changes status message also means
the indexer is idle/active (reduce dbus traffic)
Diffs
-----
interfaces/org.kde.nepomuk.FileWatch.xml e2784a2
services/filewatch/CMakeLists.txt 63307c0
services/filewatch/metadatamover.h 6920849
services/filewatch/metadatamover.cpp e771f02
services/filewatch/nepomukfilewatch.h c076601
services/filewatch/nepomukfilewatch.cpp d90ea20
Diff: http://git.reviewboard.kde.org/r/108576/diff/
Testing
-------
* apply patch
* connect to signals via qdbusviewer
* move files around
The status message is shown correctly, idle status switches correctly
No idle status is set if many move/remove operations take place (only after all operations are finished)
Thanks,
Jörg Ehrichs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/nepomuk/attachments/20130124/2d4ad89e/attachment.html>
More information about the Nepomuk
mailing list