From 7daaccd9a16f1a39e7b0b4df94876de113a3523b Mon Sep 17 00:00:00 2001 From: ubbo Date: Fri, 14 May 2010 20:28:01 +0000 Subject: more work on tablemodel, attached files are saveable again git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@329 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- attachmenttablemodel.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'attachmenttablemodel.h') diff --git a/attachmenttablemodel.h b/attachmenttablemodel.h index 0200656..0f93ac2 100644 --- a/attachmenttablemodel.h +++ b/attachmenttablemodel.h @@ -20,6 +20,9 @@ public: QVariant headerData(int section, Qt::Orientation orientation, int role) const; void add(MimePart mp); + MimePart getSelectedMimePart(QModelIndex index); + MimePart getMimePart(int index); + //QList getSelectedMimeParts(QModelIndexList indexes); private: QList listOfMimeparts; -- cgit v1.2.3