Revision b42365a...

Go back to digest for 10th February 2013

Features in KDE Base

Jörg Ehrichs committed changes in [nepomuk-core] /:

Change dbus interface to the FileIndexer for status messages

To have a unified dbus interface this patch adds the signal:
* statusMessage(int, string)
and the method:
* statusMessage
* currentStatus

To expose the current state of the fileindexer via dbus.
This change results in the same dbus signal/slot that are used by
akonadi_nepomuk and the FileWatcher.

The integers for the status are the fixed enum values of the Nepomuk2::IndexScheduler::Status
State_Normal = 0,
State_UserIdle = 1,
State_OnBattery = 2,
State_LowDiskSpace = 3,
State_Suspended = 4,
State_Cleaning = 5

Therefore the following method s are marked deprecated:
* userStatusString - bad naming, same as statusMessage
* simpleUserStatusString - not used/returns the same as userStatusString

REVIEW: 108811

File Changes

Modified 5 files
  •   interfaces/org.kde.nepomuk.FileIndexer.xml
  •   services/fileindexer/fileindexer.cpp
  •   services/fileindexer/fileindexer.h
  •   services/fileindexer/indexscheduler.cpp
  •   services/fileindexer/indexscheduler.h
5 files changed in total