Diffusion Baloo 7aacb80b23cc

[FileIndexerConfig] Replace config QString,bool pair with dedicated class

Authored by bruns on Mar 22 2020, 1:17 PM.

Description

[FileIndexerConfig] Replace config QString,bool pair with dedicated class

Summary:
entry.path/entry.isIncluded is more readable than entry.first/enty.second.

Also replace the homegrown insertSort with std::lower_bound + insert.

Test Plan: ctest -R fileindexerconfigtest

Reviewers: Baloo, ngraham

Reviewed By: Baloo, ngraham

Subscribers: kde-frameworks-devel

Tags: Frameworks, Baloo

Differential Revision: https://phabricator.kde.org/D28202