summaryrefslogtreecommitdiff
path: root/listitem.cpp
blob: ea1de8e3d62a55cb92486f271a68ad7a572009f7 (plain)
1
2
3
4
5
6
7
8
9
10
#include "listitem.h"

ListItem::ListItem(const QString &title, const QString &description, const QString &icon, const QVariant &data)
: QListWidgetItem(0, UserType)
{
	setData(ItemTitle, title);
	setData(ItemDescription, description);
	setData(ItemIcon, icon);
	setData(ItemData, data);
}