This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/108598/

Review request for Telepathy.
By David Edmundson.

Description

Create the new types enum.

This is really important. Please please review. 
Give a "ship it!" if you're happy with the enum. I will only push into the model_refactor_3 branch.

Obviously this won't compile, I want to make sure people are happy with this _before_ we start changing all the other code. We can add roles later, but I don't want to be editing or deleting them. 

I'm also not sure whether I should namespace the enum so we don't have roles at the top level of the KTp namespace?  (i.e namespace KTp { namespace ContactModelRoles { enum ModelRoles{ .....  ) ? Thoughts?

(what's not shown in the diff is that I've also deleted/merged the ktp-metatypes.h file)

Diffs

  • KTp/CMakeLists.txt (10c17bf1f915db9fed59f2d11421cb73a38cebae)
  • KTp/Models/accounts-tree-proxy-model.cpp (ead34f6a1b019535caeb77e05eb7332e71d82f5c)
  • KTp/Models/contacts-filter-model.cpp (145dcef38593edc10d1efb3f6dc5e188723ecc8e)
  • KTp/Models/contacts-list-model.h (876a485a65eacad7fa8663dd7c221f52c1ae7ff1)
  • KTp/Models/contacts-model.h (2a9cf44736e6e3aea5f92eb09e6840314ba94247)
  • KTp/ktp-metatypes.h (9488ee5cbe059d831466b1a1115e2ff359457bac)
  • KTp/types.h (PRE-CREATION)

View Diff