D25743: Expose IndexerState enum to QML

David Edmundson noreply at phabricator.kde.org
Wed Dec 4 15:19:16 GMT 2019


davidedmundson created this revision.
Herald added projects: Frameworks, Baloo.
Herald added subscribers: Baloo, kde-frameworks-devel.
davidedmundson requested review of this revision.

REVISION SUMMARY
  This no longer is just private API of the file code as we're using this
  all over balooctl and now QML plugin.
  
  The relevant namespace is exported and exposed to QML. Intended to help
  tidy up the patch D25447 <https://phabricator.kde.org/D25447> that horribly shadows the enum values manually.
  
  I wanted to avoid linking baloofilecommon as the qml plugin doesn't
  really use anything from that, so I moved the enum and relevant method
  into indexerstate.

TEST PLAN
  Compiles.
  Hopefully @ngraham can test using it in the linked patch

REPOSITORY
  R293 Baloo

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D25743

AFFECTED FILES
  src/engine/CMakeLists.txt
  src/engine/indexerstate.cpp
  src/engine/indexerstate.h
  src/file/indexerstate.h
  src/qml/experimental/baloomonitorplugin.cpp
  src/qml/experimental/monitor.h

To: davidedmundson
Cc: kde-frameworks-devel, ngraham, #baloo, hurikhan77, lots0logs, LeGast00n, fbampaloukas, GB_2, domson, ashaposhnikov, michaelh, astippich, spoorun, bruns, abrahams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191204/df166d01/attachment.html>


More information about the Kde-frameworks-devel mailing list