diff options
author | ubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2010-05-14 22:23:00 +0000 |
---|---|---|
committer | ubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2010-05-14 22:23:00 +0000 |
commit | c17f86af2dce6d1d4ad6a4e787404003c1ce495c (patch) | |
tree | dabef71f91f1ccaa9e1d9ff53cb39497bcaf204c /attachmenttablemodel.h | |
parent | more work on tablemodel, attached files are saveable again (diff) | |
download | gpg4usb-c17f86af2dce6d1d4ad6a4e787404003c1ce495c.tar.gz gpg4usb-c17f86af2dce6d1d4ad6a4e787404003c1ce495c.zip |
add mimetype-icons to model
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@330 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'attachmenttablemodel.h')
-rw-r--r-- | attachmenttablemodel.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/attachmenttablemodel.h b/attachmenttablemodel.h index 0f93ac2..cac8d7f 100644 --- a/attachmenttablemodel.h +++ b/attachmenttablemodel.h @@ -4,6 +4,9 @@ #include "mime.h" #include <QAbstractTableModel> +#include <QStandardItem> +#include <QIcon> +#include <QFile> class AttachmentTableModel : public QAbstractTableModel @@ -12,6 +15,7 @@ class AttachmentTableModel : public QAbstractTableModel public: AttachmentTableModel(QObject *parent = 0); + AttachmentTableModel(QString iconpath, QObject *parent = 0); AttachmentTableModel(QList<MimePart> mimeparts, QObject *parent = 0); int rowCount(const QModelIndex &parent) const; @@ -26,6 +30,7 @@ public: private: QList<MimePart> listOfMimeparts; + QString iconPath; }; |