diff options
author | ubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2010-05-14 11:22:44 +0000 |
---|---|---|
committer | ubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2010-05-14 11:22:44 +0000 |
commit | 38d40c5aed23ba76add8fc421f26380c9973401e (patch) | |
tree | 30b55db0433c14a8a841eb0a49f865f3e2381117 /attachments.h | |
parent | update attachment-todo (diff) | |
download | gpg4usb-38d40c5aed23ba76add8fc421f26380c9973401e.tar.gz gpg4usb-38d40c5aed23ba76add8fc421f26380c9973401e.zip |
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
Diffstat (limited to 'attachments.h')
-rw-r--r-- | attachments.h | 12 |
1 files changed, 9 insertions, 3 deletions
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); |