diff options
author | Andreas Loibl <andreas@andreas-loibl.de> | 2011-03-17 05:07:10 +0100 |
---|---|---|
committer | Andreas Loibl <andreas@andreas-loibl.de> | 2011-03-17 05:07:10 +0100 |
commit | 00286a5db286e21a766b6af057052dc5d17561ad (patch) | |
tree | 7232dadf6dc3570705c3104fe0c000f480c7a0ee /listitem.cpp | |
download | acritoxinstaller-00286a5db286e21a766b6af057052dc5d17561ad.zip acritoxinstaller-00286a5db286e21a766b6af057052dc5d17561ad.tar.gz |
Initial commit
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); +} |