mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 21:14:33 -04:00
Add a new boolean field for tagging comics as manga
This commit is contained in:
@ -102,6 +102,9 @@ QString ComicDB::toTXT()
|
||||
|
||||
if (!info.ageRating.isNull())
|
||||
txt.append(QString("ageRating:%1\r\n").arg(info.ageRating.toString()));
|
||||
|
||||
if (!info.manga.isNull())
|
||||
txt.append(QString("manga:%1\r\n").arg(info.manga.toString()));
|
||||
//Argumento
|
||||
if (!info.synopsis.isNull())
|
||||
txt.append(QString("synopsis:%1\r\n").arg(info.synopsis.toString()));
|
||||
@ -232,6 +235,7 @@ ComicInfo &ComicInfo::operator=(const ComicInfo &comicInfo)
|
||||
publisher = comicInfo.publisher;
|
||||
format = comicInfo.format;
|
||||
color = comicInfo.color;
|
||||
manga = comicInfo.manga;
|
||||
ageRating = comicInfo.ageRating;
|
||||
synopsis = comicInfo.synopsis;
|
||||
characters = comicInfo.characters;
|
||||
@ -537,6 +541,7 @@ QDataStream &operator<<(QDataStream &stream, const ComicInfo &comicInfo)
|
||||
stream << comicInfo.format;
|
||||
stream << comicInfo.color;
|
||||
stream << comicInfo.ageRating;
|
||||
stream << comicInfo.manga;
|
||||
|
||||
stream << comicInfo.synopsis;
|
||||
stream << comicInfo.characters;
|
||||
@ -598,6 +603,7 @@ QDataStream &operator>>(QDataStream &stream, ComicInfo &comicInfo)
|
||||
stream >> comicInfo.format;
|
||||
stream >> comicInfo.color;
|
||||
stream >> comicInfo.ageRating;
|
||||
stream >> comicInfo.manga;
|
||||
|
||||
stream >> comicInfo.synopsis;
|
||||
stream >> comicInfo.characters;
|
||||
|
@ -73,6 +73,7 @@ public:
|
||||
QVariant format; //string
|
||||
QVariant color; //bool
|
||||
QVariant ageRating; //string
|
||||
QVariant manga; //bool
|
||||
|
||||
QVariant synopsis; //string
|
||||
QVariant characters; //string
|
||||
@ -180,6 +181,7 @@ public:
|
||||
Q_PROPERTY(QVariant format MEMBER format CONSTANT)
|
||||
Q_PROPERTY(QVariant color MEMBER color CONSTANT)
|
||||
Q_PROPERTY(QVariant ageRating MEMBER ageRating CONSTANT)
|
||||
Q_PROPERTY(QVariant manga MEMBER manga CONSTANT)
|
||||
|
||||
Q_PROPERTY(QVariant synopsis MEMBER synopsis CONSTANT)
|
||||
Q_PROPERTY(QVariant characters MEMBER characters CONSTANT)
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
#include <QStandardPaths>
|
||||
|
||||
#define VERSION "9.7.1"
|
||||
#define VERSION "9.8.0"
|
||||
|
||||
#define REMOTE_BROWSE_PERFORMANCE_WORKAROUND "REMOTE_BROWSE_PERFORMANCE_WORKAROUND"
|
||||
|
||||
|
Reference in New Issue
Block a user