-
- Downloads
newdevicemodel: deprecate ringdevicemodel in favor of newdevicemodel
Ring devices are currently managed via a Qt model. With this patch,
this class is now deprecated in favor of NewDeviceModel linked to
the AccountModel used by clients.
This patch add the ability to revoke devices and rename current used
device for LRC based clients.
Add some unit-tests in test/newdevicemodeltester.*
Change-Id: Ifcec4e573f92967d7e0ee8759f1159328957c7ba
Reviewed-by:
Andreas Traczyk <andreas.traczyk@savoirfairelinux.com>
Showing
- CMakeLists.txt 2 additions, 0 deletionsCMakeLists.txt
- src/api/account.h 2 additions, 0 deletionssrc/api/account.h
- src/api/newdevicemodel.h 123 additions, 0 deletionssrc/api/newdevicemodel.h
- src/callbackshandler.cpp 29 additions, 0 deletionssrc/callbackshandler.cpp
- src/callbackshandler.h 39 additions, 0 deletionssrc/callbackshandler.h
- src/newaccountmodel.cpp 6 additions, 4 deletionssrc/newaccountmodel.cpp
- src/newdevicemodel.cpp 234 additions, 0 deletionssrc/newdevicemodel.cpp
- src/qtwrapper/configurationmanager_wrap.h 5 additions, 0 deletionssrc/qtwrapper/configurationmanager_wrap.h
- test/mocks/configurationmanager_mock.h 36 additions, 5 deletionstest/mocks/configurationmanager_mock.h
- test/newdevicemodeltester.cpp 197 additions, 0 deletionstest/newdevicemodeltester.cpp
- test/newdevicemodeltester.h 103 additions, 0 deletionstest/newdevicemodeltester.h
Loading
Please register or sign in to comment