(refactor) Allow DolphinQuery to support different Url schemes
Refactor the class DolphinQuery
and prepare it to handle different Url schemes.
Currently, only the scheme baloosearch
is implicitly supported.
This will help to add search custom parsing for new schemes like tags:
.
It also allows to port existing schemes (filenamesearch:
) to DolphinQuery
, with the added benefits of decoupling from the UI and a test unit.
This MR suppose no functional changes. Test still passes. cc: @elvisangelaccio, @meven