From c17f86af2dce6d1d4ad6a4e787404003c1ce495c Mon Sep 17 00:00:00 2001 From: ubbo Date: Fri, 14 May 2010 22:23:00 +0000 Subject: add mimetype-icons to model git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@330 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- attachmenttablemodel.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'attachmenttablemodel.h') 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 +#include +#include +#include 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 mimeparts, QObject *parent = 0); int rowCount(const QModelIndex &parent) const; @@ -26,6 +30,7 @@ public: private: QList listOfMimeparts; + QString iconPath; }; -- cgit v1.2.3