blob: e2b3c3fa459ad8e08264567495c48559f3bc3140 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#pragma once
#include <QListWidgetItem>
#include "types.h"
class ListItem : QListWidgetItem {
public:
enum ItemType {
ArchiveListItemType = QListWidgetItem::UserType
};
ListItem(const QString &text, StatusType status_type, QListWidget *parent = nullptr, int index = 0);
private:
int status_index;
StatusType status_type;
bool has_attachement;
};
|