D24433: Move URL parsing methods from kioslave to query object

Ismael Asensio noreply at phabricator.kde.org
Sun Oct 6 00:26:55 BST 2019


iasensio created this revision.
iasensio added reviewers: Baloo, meven.
Herald added projects: Frameworks, Baloo.
Herald added a subscriber: kde-frameworks-devel.
iasensio requested review of this revision.

REVISION SUMMARY
  This allows for query objects generated from `Baloo::Query::fromSearchUrl` to use the same URLs parsing as those using the kioslave. 
  Previously, only query urls with `json` format were available, while the kioslave could also parse the `query` keyword and simple type urls (e.g. `baloosearch://videos`)
  This was preventing the file type to be updated for places panels' default search urls (e.g. `baloosearch://videos`)

TEST PLAN
  - Open dolphin searchbar and activate "More Options"
  - Type `baloosearch://images`
  - The type 'Images' gets selected

REPOSITORY
  R293 Baloo

BRANCH
  extend_query_url

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

AFFECTED FILES
  src/kioslaves/search/kio_search.cpp
  src/lib/query.cpp

To: iasensio, #baloo, meven
Cc: kde-frameworks-devel, #dolphin, lots0logs, LeGast00n, fbampaloukas, GB_2, domson, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20191005/e4f96d82/attachment.htm>


More information about the kfm-devel mailing list