-
- Downloads
roles: make use of Ring::Role enum in models
::roleData() should now return appropriate data when using the Ring::Role enum where applicable. In order to not break current behaviour, all model specific roles have been kept; however their values have been prepended with Ring:: Role::UserRole in order to guarantee that there are no collisions with the Ring::Role enum. Explicit enum values are also dropped since the values are not the same anyways. All clients should test that no behaviour is broken. Issue: #81198 Change-Id: Id8ca13ab47be355a710de7fc3dd2d048ec04db30
Showing
- src/account.cpp 5 additions, 2 deletionssrc/account.cpp
- src/account.h 92 additions, 91 deletionssrc/account.h
- src/call.cpp 5 additions, 0 deletionssrc/call.cpp
- src/call.h 41 additions, 40 deletionssrc/call.h
- src/contactmethod.cpp 5 additions, 0 deletionssrc/contactmethod.cpp
- src/contactmethod.h 4 additions, 3 deletionssrc/contactmethod.h
- src/person.cpp 4 additions, 0 deletionssrc/person.cpp
- src/person.h 11 additions, 11 deletionssrc/person.h
Loading
Please register or sign in to comment