album.h 337 B

1234567891011121314151617181920212223
  1. #ifndef ALBUM_H
  2. #define ALBUM_H
  3. #include <QString>
  4. #include "gallery-core_global.h"
  5. class GALLERYCORE_EXPORT Album {
  6. public:
  7. explicit Album(const QString& name = "");
  8. int id() const;
  9. void setId(int id);
  10. QString name() const;
  11. void setName(const QString& name);
  12. private:
  13. int mId;
  14. QString mName;
  15. };
  16. #endif // ALBUM_H