| 260 | } |
| 261 | |
| 262 | bool 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 | |
| 272 | bool CFavoriteModel::Move(QModelIndex index, QModelIndex parentIndex) |
| 273 | { |
no outgoing calls
no test coverage detected