Diffusion Baloo 34e682a1c0ed

Move URL parsing methods from kioslave to query object

Authored by iasensio on Dec 14 2019, 4:40 PM.

Description

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

Details

Committed
iasensioDec 14 2019, 4:44 PM
Reviewer
Baloo
Differential Revision
D24433: Move URL parsing methods from kioslave to query object
Parents
R293:380d90a7abc2: GIT_SILENT Bump KF5 deprecation level to 5.65
Branches
Unknown
Tags
Unknown