From ec3418479b28ca8e162f84d76c2eed78c27a114c Mon Sep 17 00:00:00 2001 From: am Date: Mon, 20 Jul 2009 17:37:08 +0000 Subject: -started on editing the archive -big probs with the covers, I'll stop for now, can't think straight any more -changes to MovieModel -changes to MovieItem -modified CoverEditor to allow adding files (untested) git-svn-id: file:///var/svn/repos2/shemov/trunk@392 f440f766-f032-0410-8965-dc7d17de2ca0 --- coveritem.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'coveritem.h') diff --git a/coveritem.h b/coveritem.h index a435f90..0abccfa 100644 --- a/coveritem.h +++ b/coveritem.h @@ -12,17 +12,27 @@ class QString; class CoverItem { public: + CoverItem(); CoverItem(const QString &filename, const QString &type, const QString &md5); ~CoverItem() {}; const QString fileName() const { return mFilename; }; + const QString fullPath() const { return mFullPath; }; const QString type() const { return mType; }; const QString md5() const { return mMd5; }; + void setFileName(const QString &filename); + void setType(const QString &type) { mType = type; }; + void setMd5(const QString &md5); + void setFullPath(const QString &fullPath); private: + void setPath(); QString mFilename; QString mType; QString mMd5; + QString mFullPath; }; +Q_DECLARE_METATYPE(CoverItem) + #endif -- cgit v1.2.3-70-g09d2