aboutsummaryrefslogtreecommitdiffstats
path: root/attachmenttablemodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'attachmenttablemodel.h')
-rw-r--r--attachmenttablemodel.h5
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;
};