4 Copyright (C) 2002 Michael Goffioul <kdeprint@swing.be>
6 This file is part of KTNEF, the KDE TNEF support library/program.
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2 of the License, or
11 (at your option) any later version.
13 You should have received a copy of the GNU General Public License
14 along with this program; if not, write to the Free Software Foundation,
15 Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
18 #ifndef KTNEF_KTNEFVIEW_H
19 #define KTNEF_KTNEFVIEW_H
21 #include <k3listview.h>
22 #include <q3ptrlist.h>
23 #include <QResizeEvent>
25 #include <ktnef/ktnefattach.h>
27 class KTNEFView
: public K3ListView
32 KTNEFView( QWidget
*parent
= 0 );
35 void setAttachments(const QList
<KTnef::KTNEFAttach
*> &list
);
36 QList
<KTnef::KTNEFAttach
*>* getSelection();
39 void dragRequested( const QList
<KTnef::KTNEFAttach
*>& list
);
42 void resizeEvent(QResizeEvent
*e
);
46 QList
<KTnef::KTNEFAttach
*> attachments_
;
49 #endif // KTNEF_KTNEFVIEW_H