Diffstat (limited to 'noncore/net/mailit/readmail.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mailit/readmail.h | 95 |
1 files changed, 0 insertions, 95 deletions
diff --git a/noncore/net/mailit/readmail.h b/noncore/net/mailit/readmail.h deleted file mode 100644 index 6700595..0000000 --- a/noncore/net/mailit/readmail.h +++ b/dev/null | |||
@@ -1,95 +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 READMAIL_H | ||
21 | #define READMAIL_H | ||
22 | |||
23 | #include <qaction.h> | ||
24 | #include <qmainwindow.h> | ||
25 | #include <qmenubar.h> | ||
26 | #include <qpopupmenu.h> | ||
27 | #include <qlabel.h> | ||
28 | #include <qlistview.h> | ||
29 | #include <qlayout.h> | ||
30 | #include <qtextview.h> | ||
31 | #include <qtoolbutton.h> | ||
32 | |||
33 | #include "emailhandler.h" | ||
34 | #include "emaillistitem.h" | ||
35 | #include "viewatt.h" | ||
36 | |||
37 | class ReadMail : public QMainWindow | ||
38 | { | ||
39 | Q_OBJECT | ||
40 | |||
41 | public: | ||
42 | ReadMail( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); | ||
43 | ~ReadMail(); | ||
44 | void update(QListView *thisView, Email *mailIn); | ||
45 | void updateView(); | ||
46 | void mailUpdated(Email *mailIn); | ||
47 | |||
48 | signals: | ||
49 | void cancelView(); | ||
50 | void replyRequested(Email &, bool &); | ||
51 | void forwardRequested(Email&); | ||
52 | void removeItem(EmailListItem *, bool &); | ||
53 | void viewingMail(Email *); | ||
54 | void download (Email*); | ||
55 | |||
56 | public slots: | ||
57 | void close(); | ||
58 | void next(); | ||
59 | void previous(); | ||
60 | void deleteItem(); | ||
61 | void shiftText(); | ||
62 | void viewAttachments(); | ||
63 | void reply(); | ||
64 | void replyAll(); | ||
65 | void forward(); | ||
66 | void download(); | ||
67 | |||
68 | private: | ||
69 | void init(); | ||
70 | void updateButtons(); | ||
71 | |||
72 | private: | ||
73 | QListView *view; | ||
74 | EmailListItem *item; | ||
75 | bool plainTxt, inbox; | ||
76 | Email *mail; | ||
77 | ViewAtt *viewAtt; | ||
78 | |||
79 | QToolBar *bar; | ||
80 | QMenuBar *menu; | ||
81 | QPopupMenu *viewMenu, *mailMenu; | ||
82 | QAction *deleteButton; | ||
83 | QMimeSourceFactory *mime; | ||
84 | QAction *plainTextButton; | ||
85 | QAction *nextButton; | ||
86 | QTextView *emailView; | ||
87 | QAction *attachmentButton; | ||
88 | QAction *previousButton; | ||
89 | QToolButton *replyButton; | ||
90 | QAction *forwardButton; | ||
91 | QAction *replyAllButton; | ||
92 | QAction *downloadButton; | ||
93 | }; | ||
94 | |||
95 | #endif // READMAIL_H | ||