summaryrefslogtreecommitdiff
path: root/noncore/net/mailit/writemail.h
Unidiff
Diffstat (limited to 'noncore/net/mailit/writemail.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mailit/writemail.h96
1 files changed, 0 insertions, 96 deletions
diff --git a/noncore/net/mailit/writemail.h b/noncore/net/mailit/writemail.h
deleted file mode 100644
index 921f27e..0000000
--- a/noncore/net/mailit/writemail.h
+++ b/dev/null
@@ -1,96 +0,0 @@
1/**********************************************************************
2** Copyright (C) 2001 Trolltech AS. All rights reserved.
3**
4** This file is part of Qt Palmtop Environment.
5**
6** This file may be distributed and/or modified under the terms of the
7** GNU General Public License version 2 as published by the Free Software
8** Foundation and appearing in the file LICENSE.GPL included in the
9** packaging of this file.
10**
11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
13**
14** See http://www.trolltech.com/gpl/ for GPL licensing information.
15**
16** Contact info@trolltech.com if any conditions of this licensing are
17** not clear to you.
18**
19**********************************************************************/
20#ifndef WRITEMAIL_H
21#define WRITEMAIL_H
22
23#include <qmainwindow.h>
24#include <qaction.h>
25#include <qlabel.h>
26#include <qtoolbar.h>
27#include <qtoolbutton.h>
28#include <qmenubar.h>
29#include <qlayout.h>
30#include <qlineedit.h>
31#include <qmultilineedit.h>
32#include <qlistview.h>
33#include <qcombobox.h>
34
35#include "emailhandler.h"
36#include "addresslist.h"
37#include "addatt.h"
38
39class WriteMail : public QMainWindow
40{
41 Q_OBJECT
42
43public:
44 WriteMail( QWidget* parent, const char* name, WFlags fl = 0 );
45 ~WriteMail();
46 void reply(Email replyMail, bool replyAll);
47 void setRecipient(const QString &recipient);
48 void setAddressList(AddressList *list);
49 void forward(Email forwMail);
50
51signals:
52 void sendMailRequested(const Email &mail);
53 void cancelMail();
54
55
56public slots:
57 void getAddress();
58 void attachFile();
59 void addRecipients();
60 void newMail();
61 void accept();
62 void reject();
63 void changeRecipients(int);
64
65private:
66 bool getRecipients(bool);
67 void init();
68 void addRecipients(bool);
69
70 Email mail;
71 AddAtt *addAtt;
72 AddressList *addressList;
73 bool showingAddressList;
74
75 QToolBar *bar;
76 QMenuBar *menu;
77 QPopupMenu *addMenu, *mailMenu;
78 QListView *addressView;
79
80 QToolButton *okButton;
81 QWidget *widget;
82 QAction *attachButton;
83 QAction *confirmButton;
84 QAction *newButton;
85 QLabel* subjetLabel;
86 QToolButton* ToolButton13_2;
87 QComboBox* recipientsBox;
88 QLineEdit *subjectInput;
89 QLineEdit *toInput;
90 QLineEdit *ccInput;
91 QToolButton* addressButton;
92 QMultiLineEdit* emailInput;
93 QGridLayout* grid;
94};
95
96#endif // WRITEMAIL_H