mirror of
https://github.com/YACReader/yacreader
synced 2025-07-14 11:04:25 -04:00
Get/set new manga field from/to the db
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user