From 006d3cec6779ee85337bbabe02a6ff859d71f656 Mon Sep 17 00:00:00 2001 From: ConfuSomu Date: Tue, 27 Dec 2022 03:58:29 -0500 Subject: Store metadata of items that are in status list There is more control and customizability of elements added to the status list, which allows us to set the icon used and also to store additional information about the status that has been selected, useful when we have to display it with more detail. --- src/archive_parser.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/archive_parser.h') diff --git a/src/archive_parser.h b/src/archive_parser.h index 47c7ea4..73adb2c 100644 --- a/src/archive_parser.h +++ b/src/archive_parser.h @@ -5,6 +5,7 @@ #include #include #include +#include #include "types.h" @@ -28,7 +29,7 @@ public: ~Archive(); InitError init(); - QStringList get_status_list(ViewStatusTypes types); + void update_status_list(ViewStatusTypes allowed_types, QListWidget *parent); private: QString outbox_filename; ArchiveType archive_type; -- cgit v1.2.3-54-g00ecf