PictureModel.cpp 656 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. #include "PictureModel.h"
  2. PictureModel::PictureModel(const AlbumModel &albumModel, QObject *parent)
  3. {
  4. }
  5. QModelIndex PictureModel::addPicture(const Picture &picture)
  6. {
  7. }
  8. int PictureModel::rowCount(const QModelIndex &parent) const
  9. {
  10. }
  11. QVariant PictureModel::data(const QModelIndex &index, int role) const
  12. {
  13. }
  14. bool PictureModel::removeRows(int row, int count, const QModelIndex &parent)
  15. {
  16. }
  17. void PictureModel::setAlbumId(int albumId)
  18. {
  19. }
  20. void PictureModel::clearAlbum()
  21. {
  22. }
  23. void PictureModel::deletePcituresForAlbum()
  24. {
  25. }
  26. void PictureModel::loadPictures(int albumId)
  27. {
  28. }
  29. bool PictureModel::isIndexValid(const QModelIndex &index) const
  30. {
  31. }