diff options
Diffstat (limited to 'listitem.cpp')
-rw-r--r-- | listitem.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/listitem.cpp b/listitem.cpp new file mode 100644 index 0000000..ea1de8e --- /dev/null +++ b/listitem.cpp @@ -0,0 +1,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); +} |