MCPcopy Create free account
hub / github.com/KangLin/RabbitRemoteControl / GetTree

Method GetTree

App/Client/Favorite/FavoriteModel.cpp:379–385  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

377}
378
379CFavoriteModel::tree* CFavoriteModel::GetTree(int id) const
380{
381 if(0 == id) return m_pRoot;
382 if(m_Folders.contains(id))
383 return m_Folders[id];
384 return nullptr;
385}
386
387CFavoriteModel::tree* CFavoriteModel::GetTree(QModelIndex index) const
388{

Callers

nothing calls this directly

Calls 2

isValidMethod · 0.80
containsMethod · 0.45

Tested by

no test coverage detected