kmail

attachmentlistview.h
1/*
2 attachmentlistview.h
3
4 KMail, the KDE mail client.
5 Copyright (c) 2003 Ingo Kloecker <kloecker@kde.org>
6
7 This program is free software; you can redistribute it and/or
8 modify it under the terms of the GNU General Public License,
9 version 2.0, as published by the Free Software Foundation.
10 You should have received a copy of the GNU General Public License
11 along with this program; if not, write to the Free Software Foundation,
12 Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, US
13*/
14
15
16#ifndef _KMAIL_ATTACHMENTLISTVIEW_H_
17#define _KMAIL_ATTACHMENTLISTVIEW_H_
18
19#include <tdelistview.h>
20
21class TQDragEnterEvent;
22class TQDragMoveEvent;
23class TQDropEvent;
24class KMComposeWin;
25
26namespace KMail {
27
28class Composer;
29
30class AttachmentListView : public TDEListView
31{
32 TQ_OBJECT
33
34public:
35 AttachmentListView( KMail::Composer * composer = 0, TQWidget* parent = 0,
36 const char* name = 0 );
37 virtual ~AttachmentListView();
38
40 void contentsDragEnterEvent( TQDragEnterEvent* );
41 void contentsDragMoveEvent( TQDragMoveEvent* );
42 void contentsDropEvent( TQDropEvent* );
43
44protected:
45 virtual void keyPressEvent( TQKeyEvent * e );
46 virtual void startDrag();
47
48private:
49 KMail::Composer * mComposer;
50
51signals:
52 void attachmentDeleted();
53 void dragStarted();
54
55};
56
57} // namespace KMail
58
59#endif // _KMAIL_ATTACHMENTLISTVIEW_H_
60
folderdiaquotatab.h
Definition: aboutdata.cpp:40