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

Method UpdateFavorite

App/Client/Favorite/FavoriteModel.cpp:262–270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260}
261
262bool CFavoriteModel::UpdateFavorite(
263 const QString &szFile, const QString &szName,
264 const QString &szDescription, const QIcon &icon)
265{
266 if(!m_pDatabase) return false;
267 m_pDatabase->UpdateFavorite(szFile, szName, icon, szDescription);
268 UpdateTree(szFile);
269 return true;
270}
271
272bool CFavoriteModel::Move(QModelIndex index, QModelIndex parentIndex)
273{

Callers 2

slotUpdateFavoriteMethod · 0.45
setDataMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected