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