From 38d40c5aed23ba76add8fc421f26380c9973401e Mon Sep 17 00:00:00 2001 From: ubbo Date: Fri, 14 May 2010 11:22:44 +0000 Subject: start of using own model for attachment-table-view, not all functionality (saving / icons) back in place git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@328 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- attachments.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'attachments.h') diff --git a/attachments.h b/attachments.h index 80cb04c..8283fb9 100644 --- a/attachments.h +++ b/attachments.h @@ -22,21 +22,24 @@ #ifndef __ATTACHMENTS_H__ #define __ATTACHMENTS_H__ -#include "context.h" #include "keylist.h" #include "mime.h" +#include "attachmenttablemodel.h" +class QWidget; class QVBoxLayout; class QDebug; class QFileDialog; -class QMessageBox; -class iostream; class QListWidget; class QWidget; class QAction; class QMenu; class QContextMenuEvent; class QMenu; +class QTableWidget; +class QTableWidgetItem; +class QtGui; + class Attachments : public QWidget { @@ -60,6 +63,9 @@ private: QAction *saveFileAct; QString iconPath; + AttachmentTableModel *table; + QTableView *tableView; + protected: void contextMenuEvent(QContextMenuEvent *event); -- cgit v1.2.3