mirror of
https://github.com/YACReader/yacreader
synced 2025-07-24 16:05:01 -04:00
Added lastTimeOpened as a new property to ComicDB.
This commit is contained in:
@ -83,6 +83,8 @@ public:
|
||||
|
||||
QImage cover;
|
||||
|
||||
QVariant lastTimeOpened;//integer/date
|
||||
|
||||
/*void setTitle(QVariant value);
|
||||
|
||||
void setCoverPage(QVariant value);
|
||||
@ -186,6 +188,8 @@ public:
|
||||
|
||||
Q_PROPERTY(QImage cover MEMBER cover CONSTANT)
|
||||
|
||||
Q_PROPERTY(QVariant lastTimeOpened MEMBER lastTimeOpened CONSTANT)
|
||||
|
||||
//-new properties, not loaded from the DB automatically
|
||||
bool isFavorite;
|
||||
Q_PROPERTY(bool isFavorite MEMBER isFavorite WRITE setFavorite NOTIFY favoriteChanged)
|
||||
|
Reference in New Issue
Block a user