[balooctl] Monitor also for state changes
Summary:
Right now balooctl monitor connects only to the fileindexer DBus interface, and monitors only for files indexing.
This patch makes monitor to connect also to the scheduler interface to stateChanged(int state) signal, and notify about updates.
FIXED-IN: 5.52
Test Plan:
- Run balooctl monitor
- In different terminal session, run balooctl stop && balooctl start
- Monitor now says what exactly baloo is doing right now
Reviewers: Frameworks, Baloo, ngraham
Reviewed By: Baloo, ngraham
Subscribers: ngraham, bruns, kde-frameworks-devel
Tags: Frameworks, Baloo
Differential Revision: https://phabricator.kde.org/D15943