Get/set new manga field from/to the db

This commit is contained in:
Luis Ángel San Martín
2021-01-16 18:30:25 +01:00
parent f7fa4adbd0
commit 60de69635b
3 changed files with 23 additions and 1 deletions

View File

@ -43,6 +43,11 @@ public:
return completed;
}
inline bool isManga() const
{
return manga;
}
inline void setFinished(bool b)
{
finished = b;
@ -53,6 +58,11 @@ public:
completed = b;
}
inline void setManga(bool b)
{
manga = b;
}
inline qint32 getNumChildren() const
{
return numChildren;
@ -86,6 +96,7 @@ public:
private:
bool finished;
bool completed;
bool manga;
qint32 numChildren; //-1 for unknown number of children
QString firstChildHash; //empty for unknown first child