ivan requested changes to this revision. ivan added a comment. This revision now requires changes to proceed.
This is something I did have initally in kastats, it was killed because while this is tempting query |= Type(types); it ruins the idea of the chaning API because it can not be used like this: query |= Type(types) | OtherTerm(...); In order for this to work properly, we'd need to use expression templates which would make the library significanly more complex. I don't think it is worth it. REPOSITORY R159 KActivities Statistics REVISION DETAIL https://phabricator.kde.org/D23372 To: meven, ivan Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns