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

Method slotFavortiedoubleClicked

App/Client/Favorite/FavoriteView.cpp:324–332  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

322}
323
324void CFavoriteView::slotFavortiedoubleClicked(const QModelIndex &index)
325{
326 if(!index.isValid()) return;
327 if(m_pTreeView->editTriggers() != QTreeView::NoEditTriggers)
328 return;
329 QString szFile = m_pModel->data(index, CFavoriteModel::RoleFile).toString();
330 if(!szFile.isEmpty())
331 emit sigStart(CDatabaseFile::GetFile(szFile), false);
332}
333
334void CFavoriteView::slotDoubleEditNode(bool bEdit)
335{

Callers

nothing calls this directly

Calls 3

isValidMethod · 0.80
dataMethod · 0.45
isEmptyMethod · 0.45

Tested by

no test coverage detected