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

Function foreach

App/Client/Favorite/FavoriteView.cpp:376–381  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

374{
375 auto lstIndex = m_pTreeView->selectionModel()->selectedIndexes();
376 foreach(auto index, lstIndex)
377 {
378 QString szFile = m_pModel->data(index, CFavoriteModel::RoleFile).toString();
379 if(!szFile.isEmpty())
380 emit sigStart(CDatabaseFile::GetFile(szFile), false);
381 }
382}
383
384void CFavoriteView::slotOpenStart()

Callers

nothing calls this directly

Calls 7

ImportFromJsonFileMethod · 0.80
GetErrorMethod · 0.80
CopyMethod · 0.80
dataMethod · 0.45
isEmptyMethod · 0.45
setDataMethod · 0.45
MoveMethod · 0.45

Tested by

no test coverage detected