Add publication date to the classic comics view table

This commit is contained in:
Luis Ángel San Martín
2021-12-26 20:26:16 +01:00
parent 2cb20cd11e
commit 88de0ae25a
3 changed files with 50 additions and 8 deletions

View File

@ -34,7 +34,8 @@ public:
IsBis = 9,
CurrentPage = 10,
Rating = 11,
HasBeenOpened = 12
HasBeenOpened = 12,
PublicationDate = 13,
};
enum Roles {
@ -51,8 +52,8 @@ public:
CurrentPageRole,
RatingRole,
HasBeenOpenedRole,
CoverPathRole
CoverPathRole,
PublicationDateRole,
};
enum Mode {
@ -158,6 +159,7 @@ private:
bool enableResorting;
Mode mode;
qulonglong sourceId;
QString localizedDate(const QString &dbDate) const;
signals:
void isEmpty();