added SortVolumeComics widget (and models)

This commit is contained in:
Luis Ángel San Martín
2013-10-19 09:20:23 +02:00
parent 8678e5368d
commit 63636dd417
19 changed files with 411 additions and 72 deletions

View File

@ -139,3 +139,8 @@ QModelIndex VolumesModel::index(int row, int column, const QModelIndex &parent)
return createIndex(row, column, _data[row]);
}
QString VolumesModel::getVolumeId(const QModelIndex &index) const
{
return _data.at(index.row())->at(ID);
}