mirror of
https://github.com/YACReader/yacreader
synced 2025-07-19 05:24:57 -04:00
Partial support for storing the cover information in the DB. Work in progress.
This commit is contained in:
@ -84,6 +84,8 @@ public:
|
||||
QImage cover;
|
||||
|
||||
QVariant lastTimeOpened;//integer/date
|
||||
QVariant coverSizeRatio;//h/w
|
||||
QVariant originalCoverSize; //string "WxH"
|
||||
|
||||
/*void setTitle(QVariant value);
|
||||
|
||||
@ -190,6 +192,9 @@ public:
|
||||
|
||||
Q_PROPERTY(QVariant lastTimeOpened MEMBER lastTimeOpened CONSTANT)
|
||||
|
||||
Q_PROPERTY(QVariant coverSizeRatio MEMBER coverSizeRatio CONSTANT)
|
||||
Q_PROPERTY(QVariant originalCoverSize MEMBER originalCoverSize 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