summaryrefslogtreecommitdiff
path: root/listitem.h
blob: aacfbfb22db5546bb293dfa8b0ad5f1f5210a35c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef LISTITEM_H
#define LISTITEM_H

#include <QListWidgetItem>

class ListItem : public QListWidgetItem
{
public:
	enum DataRole
	{
		ItemTitle = 32,
		ItemDescription = 33,
		ItemIcon = 34,
		ItemData = 35
	};
	ListItem(const QString &title, const QString &description, const QString &icon = "", const QVariant &data = QVariant());
};

#endif