/usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/private/volume/PulseObjectFilterModel.qml is in plasma-pa 4:5.12.4-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | import org.kde.plasma.core 2.1 as PlasmaCore
PlasmaCore.SortFilterModel {
property var filters: []
filterCallback: function(source_row, value) {
var idx = sourceModel.index(source_row, 0);
for (var i = 0; i < filters.length; ++i) {
var filter = filters[i];
if (sourceModel.data(idx, sourceModel.role(filter.role)) != filter.value) {
return false;
}
}
return true;
}
}
|