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.h | |
download | acritoxinstaller-00286a5db286e21a766b6af057052dc5d17561ad.zip acritoxinstaller-00286a5db286e21a766b6af057052dc5d17561ad.tar.gz |
Initial commit
Diffstat (limited to 'listitem.h')
-rw-r--r-- | listitem.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/listitem.h b/listitem.h new file mode 100644 index 0000000..aacfbfb --- /dev/null +++ b/listitem.h @@ -0,0 +1,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 |