-
- Downloads
conversations: use collection proxy for filtered and sorted views
Provides a STL container proxy class with methods for generating sorted and filtered views of the underlying data similar to qsortfilterproxymodel. This helps to prevent excessive copying and reduces the complexity of the code used to manage conversation list filtering/sorting. The container mutations occur on references and the copy-ctor + copy assignment operators are now deleted for the conversation Info type. Change-Id: I50b01e3c427563d8e32402f97dec79c8dcc865cf
Showing
- CMakeLists.txt 1 addition, 0 deletionsCMakeLists.txt
- src/api/conversation.h 6 additions, 0 deletionssrc/api/conversation.h
- src/api/conversationmodel.h 8 additions, 11 deletionssrc/api/conversationmodel.h
- src/containerview.h 278 additions, 0 deletionssrc/containerview.h
- src/conversationmodel.cpp 239 additions, 239 deletionssrc/conversationmodel.cpp
src/containerview.h
0 → 100644
This diff is collapsed.
Please register or sign in to comment