diff options
author | ConfuSomu | 2022-12-27 03:58:29 -0500 |
---|---|---|
committer | ConfuSomu | 2022-12-27 03:58:29 -0500 |
commit | 006d3cec6779ee85337bbabe02a6ff859d71f656 (patch) | |
tree | d6e95bfcb0af314cdaf0f20a59f3d8545c6d9d5f /src/archive_parser.h | |
parent | 941bd57371360eb01a28899aa62ee6c9dcca33c8 (diff) | |
download | ActorViewer-006d3cec6779ee85337bbabe02a6ff859d71f656.tar ActorViewer-006d3cec6779ee85337bbabe02a6ff859d71f656.tar.gz ActorViewer-006d3cec6779ee85337bbabe02a6ff859d71f656.zip |
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.
Diffstat (limited to 'src/archive_parser.h')
-rw-r--r-- | src/archive_parser.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 <QJsonDocument> #include <QJsonObject> #include <QJsonArray> +#include <QListWidget> #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; |