diff options
author | ConfuSomu | 2023-04-06 16:28:55 -0400 |
---|---|---|
committer | ConfuSomu | 2023-04-06 16:28:55 -0400 |
commit | d3d14e07c202f9350f817802777720ded85e4248 (patch) | |
tree | a2ce10432e09fb2bec52c4f675c369b92204a5c9 /src/list_item.h | |
parent | 75a48db1459d4c386b867ae6536ff481adf34f1f (diff) | |
download | ActorViewer-d3d14e07c202f9350f817802777720ded85e4248.tar ActorViewer-d3d14e07c202f9350f817802777720ded85e4248.tar.gz ActorViewer-d3d14e07c202f9350f817802777720ded85e4248.zip |
Rename ListItem class to StatusListItem
The new class name is more descriptive about how it is used.
Diffstat (limited to 'src/list_item.h')
-rw-r--r-- | src/list_item.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/list_item.h b/src/list_item.h index 80a57ea..9ca0aac 100644 --- a/src/list_item.h +++ b/src/list_item.h @@ -4,13 +4,13 @@ #include "src/archive_parser.h" #include "types.h" -class ListItem : public QListWidgetItem { +class StatusListItem : public QListWidgetItem { public: enum ItemType { ArchiveListItemType = QListWidgetItem::UserType }; - ListItem(const QString &text, StatusType status_type, bool has_attachement, Archive* data_archive, QListWidget *parent = nullptr, int index = 0); + StatusListItem(const QString &text, StatusType status_type, bool has_attachement, Archive* data_archive, QListWidget *parent = nullptr, int index = 0); int get_status_index(); StatusType get_status_type(); QString get_info_html(int text_zone_width, QLocale* locale); |