blob: 64091698a69d48ab74a2d01916595d2535d068a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include "list_item.h"
#include "types.h"
QIcon* choose_icon(StatusType status_type) {
return new QIcon(); // TODO: null icon for the moment
}
ListItem::ListItem(const QString &text, StatusType status_type, QListWidget *parent, int index) :
QListWidgetItem(*choose_icon(status_type), text, parent, ArchiveListItemType), status_index(index)
{
}
|