Skip to content

Implement `addFiles` and `removeFiles` for FileMonitor

Dāvis Mosāns requested to merge davism/baloo:filemonitor into master

Implement addFiles and removeFile/removeFiles methods for FileMonitor.

I'm moving Baloo::FileMonitor out of Dolphin's KFileItemModelRolesUpdater and I'm basing my implementation on KFileItem from which it's very simple to get QUrl.

This will allow to remove this implementation from Dolphin https://invent.kde.org/system/dolphin/-/blob/master/src/kitemviews/kfileitemmodelrolesupdater.cpp#L401-407

cc @meven

Merge request reports

Loading