added comicVineID field to the data base, if the comic information has been scraped the properties dialog shows a link to the Comic Vine page with the comic information

This commit is contained in:
Luis Ángel San Martín
2014-06-05 18:50:07 +02:00
parent 498f71afb2
commit d6ace428ad
9 changed files with 82 additions and 22 deletions

View File

@ -201,7 +201,7 @@ ComicInfo & ComicInfo::operator=(const ComicInfo & comicInfo)
synopsis = comicInfo.synopsis;
characters = comicInfo.characters;
notes = comicInfo.notes;
comicVineURL = comicInfo.comicVineURL;
comicVineID = comicInfo.comicVineID;
return *this;
}
@ -414,6 +414,9 @@ QDataStream &operator<<(QDataStream & stream, const ComicInfo & comicInfo)
stream << comicInfo.synopsis;
stream << comicInfo.characters;
stream << comicInfo.notes;
stream << comicInfo.comicVineID;
return stream;
}
@ -467,6 +470,8 @@ QDataStream &operator>>(QDataStream & stream, ComicInfo & comicInfo)
stream >> comicInfo.synopsis;
stream >> comicInfo.characters;
stream >> comicInfo.notes;
stream >> comicInfo.comicVineID;
return stream;
}

View File

@ -72,7 +72,7 @@ public:
QVariant characters;//string
QVariant notes;//string
QVariant comicVineURL;//string
QVariant comicVineID;//string
QImage cover;

View File

@ -8,7 +8,7 @@
#endif
#define VERSION "7.0.2"
#define VERSION "7.1.0"
#define PATH "PATH"
#define MAG_GLASS_SIZE "MAG_GLASS_SIZE"