summaryrefslogtreecommitdiffstats
path: root/coveritem.h
diff options
context:
space:
mode:
authoram <am@f440f766-f032-0410-8965-dc7d17de2ca0>2009-07-20 17:37:08 +0000
committeram <am@f440f766-f032-0410-8965-dc7d17de2ca0>2009-07-20 17:37:08 +0000
commitec3418479b28ca8e162f84d76c2eed78c27a114c (patch)
treea947550fc9821999baf728dbf33adef71fa67576 /coveritem.h
parentd2b854121266e32164290ee4e683c0c8388d7d41 (diff)
downloadSheMov-ec3418479b28ca8e162f84d76c2eed78c27a114c.tar.gz
SheMov-ec3418479b28ca8e162f84d76c2eed78c27a114c.tar.bz2
SheMov-ec3418479b28ca8e162f84d76c2eed78c27a114c.zip
-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
Diffstat (limited to 'coveritem.h')
-rw-r--r--coveritem.h10
1 files changed, 10 insertions, 0 deletions
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