void MissingTableModel::purgeTracks(const QModelIndexList& indices) { QList<int> trackIds; foreach (QModelIndex index, indices) { int trackId = getTrackId(index); trackIds.append(trackId); }
TrackPointer BaseSqlTableModel::getTrack(const QModelIndex& index) const { return m_trackDAO.getTrack(getTrackId(index)); }
void MissingTableModel::purgeTracks(const QModelIndexList& indices) { QList<TrackId> trackIds; foreach (QModelIndex index, indices) { trackIds.append(getTrackId(index)); }