summaryrefslogtreecommitdiff
path: root/listitem.cpp
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2011-03-17 05:07:10 +0100
committerAndreas Loibl <andreas@andreas-loibl.de>2011-03-17 05:07:10 +0100
commit00286a5db286e21a766b6af057052dc5d17561ad (patch)
tree7232dadf6dc3570705c3104fe0c000f480c7a0ee /listitem.cpp
downloadacritoxinstaller-00286a5db286e21a766b6af057052dc5d17561ad.zip
acritoxinstaller-00286a5db286e21a766b6af057052dc5d17561ad.tar.gz
Initial commit
Diffstat (limited to 'listitem.cpp')
-rw-r--r--listitem.cpp10
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);
+}