aboutsummaryrefslogtreecommitdiffstats
path: root/src/list_item.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/list_item.cpp')
-rw-r--r--src/list_item.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/list_item.cpp b/src/list_item.cpp
index 6f27ff0..c74fa39 100644
--- a/src/list_item.cpp
+++ b/src/list_item.cpp
@@ -11,7 +11,7 @@ QIcon* choose_icon(StatusType status_type) {
}
}
-ListItem::ListItem(const QString &text, StatusType status_type, bool has_attachement, Archive* data_archive, QListWidget *parent, int index) :
+StatusListItem::StatusListItem(const QString &text, StatusType status_type, bool has_attachement, Archive* data_archive, QListWidget *parent, int index) :
status_index(index), has_attachement(has_attachement), status_type(status_type), data_archive(data_archive)
{
setText(text);
@@ -31,14 +31,14 @@ ListItem::ListItem(const QString &text, StatusType status_type, bool has_attache
#endif
}
-int ListItem::get_status_index() {
+int StatusListItem::get_status_index() {
return status_index;
}
-StatusType ListItem::get_status_type() {
+StatusType StatusListItem::get_status_type() {
return status_type;
}
-QString ListItem::get_info_html(int text_zone_width, QLocale* locale) {
+QString StatusListItem::get_info_html(int text_zone_width, QLocale* locale) {
return data_archive->get_html_status_info(status_index, text_zone_width, status_type, locale);
}