mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 21:14:33 -04:00
Add the possibility to show a recently added/updated indicator
This commit is contained in:
@ -59,6 +59,7 @@ public:
|
||||
ReadableTitle,
|
||||
AddedRole,
|
||||
TypeRole,
|
||||
ShowRecentRole,
|
||||
};
|
||||
|
||||
enum Mode {
|
||||
@ -139,6 +140,8 @@ public:
|
||||
ComicModel::Mode getMode() { return mode; }
|
||||
unsigned long long int getSourceId() { return sourceId; }
|
||||
|
||||
void setShowRecent(bool visible);
|
||||
|
||||
QHash<int, QByteArray> roleNames() const override;
|
||||
|
||||
public slots:
|
||||
@ -168,6 +171,8 @@ private:
|
||||
qulonglong sourceId;
|
||||
QString localizedDate(const QString &dbDate) const;
|
||||
|
||||
bool showRecent;
|
||||
|
||||
signals:
|
||||
void isEmpty();
|
||||
void searchNumResults(int);
|
||||
|
Reference in New Issue
Block a user