meven added a comment.
In D28223#633824 <https://phabricator.kde.org/D28223#633824>, @meven wrote: > Using enum class would need a bunch of added code such as described http://blog.bitwigglers.org/using-enum-classes-as-type-safe-bitmasks/ > I like it a lot more, this adds quite a lot of type safety. Maybe this could be part of KF6 adding the macros to have enum class used a bitmask and as much as possible enums ported to those enum class. REPOSITORY R241 KIO BRANCH master REVISION DETAIL https://phabricator.kde.org/D28223 To: meven, #frameworks, kossebau, dfaure Cc: davidre, broulik, kde-frameworks-devel, LeGast00n, cblack, GB_2, michaelh, ngraham, bruns