Add the possibility to show a recently added/updated indicator

This commit is contained in:
Luis Ángel San Martín
2023-05-20 16:17:40 +02:00
parent 11df4a9b42
commit 6a6a239cc7
25 changed files with 234 additions and 59 deletions

View File

@ -81,6 +81,7 @@ class YACReaderHistoryController;
class EmptyLabelWidget;
class EmptySpecialListWidget;
class EmptyReadingListWidget;
class RecentVisibilityCoordinator;
namespace YACReader {
class TrayIconController;
@ -214,12 +215,12 @@ public:
QAction *setWebComicAction;
QAction *setYonkomaAction;
// QAction * setAllAsReadAction;
// QAction * setAllAsNonReadAction;
QAction *showHideMarksAction;
QAction *getInfoAction; // comic vine
QAction *resetComicRatingAction;
QAction *toogleShowRecentIndicatorAction;
// edit info actions
QAction *selectAllComicsAction;
QAction *editSelectedComicsAction;
@ -266,10 +267,6 @@ public:
QString _lastAdded;
QString _sourceLastAdded;
// QModelIndex _rootIndex;
// QModelIndex _rootIndexCV;
// QModelIndex updateDestination;
quint64 _comicIdEdited;
enum NavigationStatus {
@ -290,6 +287,7 @@ public:
void doDialogs();
void setUpShortcutsManagement();
void doModels();
void setupCoordinators();
// ACTIONS MANAGEMENT
void disableComicsActions(bool disabled);
@ -298,9 +296,6 @@ public:
void disableFoldersActions(bool disabled);
void disableAllActions();
// void disableActions();
// void enableActions();
// void enableLibraryActions();
QString currentPath();
QString currentFolderPath();
@ -455,6 +450,8 @@ private:
TrayIconController *trayIconController;
ComicQueryResultProcessor comicQueryResultProcessor;
std::unique_ptr<FolderQueryResultProcessor> folderQueryResultProcessor;
RecentVisibilityCoordinator *recentVisibilityCoordinator;
};
#endif