-
Committer:
Ismael Asensio
-
Date:
2019-12-14 16:44:03 UTC
-
Revision ID:
git-v1:34e682a1c0eda383edd88d0b8254250a5f2fcab9
Move URL parsing methods from kioslave to query object
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.
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
Reviewers: #baloo, meven, ngraham, astippich, bruns
Reviewed By: #baloo, meven, ngraham, bruns
Subscribers: broulik, bruns, kde-frameworks-devel, #dolphin
Tags: #frameworks, #baloo
Differential Revision: https://phabricator.kde.org/D24433