summaryrefslogtreecommitdiff
path: root/noncore/unsupported/mailit/emailclient.h
Unidiff
Diffstat (limited to 'noncore/unsupported/mailit/emailclient.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/mailit/emailclient.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/unsupported/mailit/emailclient.h b/noncore/unsupported/mailit/emailclient.h
index 135bfaa..80457f9 100644
--- a/noncore/unsupported/mailit/emailclient.h
+++ b/noncore/unsupported/mailit/emailclient.h
@@ -8,59 +8,59 @@
8** Foundation and appearing in the file LICENSE.GPL included in the 8** Foundation and appearing in the file LICENSE.GPL included in the
9** packaging of this file. 9** packaging of this file.
10** 10**
11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 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. 12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
13** 13**
14** See http://www.trolltech.com/gpl/ for GPL licensing information. 14** See http://www.trolltech.com/gpl/ for GPL licensing information.
15** 15**
16** Contact info@trolltech.com if any conditions of this licensing are 16** Contact info@trolltech.com if any conditions of this licensing are
17** not clear to you. 17** not clear to you.
18** 18**
19**********************************************************************/ 19**********************************************************************/
20#ifndef EMAILCLIENT_H 20#ifndef EMAILCLIENT_H
21#define EMAILCLIENT_H 21#define EMAILCLIENT_H
22 22
23#include <qlist.h> 23#include <qlist.h>
24#include <qcstring.h> 24#include <qcstring.h>
25#include <qmainwindow.h> 25#include <qmainwindow.h>
26 26
27#include <qtoolbar.h> 27#include <qtoolbar.h>
28#include <qcheckbox.h> 28#include <qcheckbox.h>
29#include <qlabel.h> 29#include <qlabel.h>
30#include <qlineedit.h> 30#include <qlineedit.h>
31#include <qlistview.h> 31#include <qlistview.h>
32#include <qtabwidget.h>
33#include <qaction.h> 32#include <qaction.h>
34#include <qlayout.h> 33#include <qlayout.h>
35#include <qtooltip.h> 34#include <qtooltip.h>
36#include <qimage.h> 35#include <qimage.h>
37#include <qpixmap.h> 36#include <qpixmap.h>
38#include <qstringlist.h> 37#include <qstringlist.h>
39#include <qprogressbar.h> 38#include <qprogressbar.h>
40#include <qstatusbar.h> 39#include <qstatusbar.h>
41#include <qdir.h> 40#include <qdir.h>
42#include <stdlib.h> 41#include <stdlib.h>
42#include <opie/otabwidget.h>
43 43
44#include "emailhandler.h" 44#include "emailhandler.h"
45#include "emaillistitem.h" 45#include "emaillistitem.h"
46#include "textparser.h" 46#include "textparser.h"
47#include "editaccount.h" 47#include "editaccount.h"
48#include "maillist.h" 48#include "maillist.h"
49#include "addresslist.h" 49#include "addresslist.h"
50 50
51#include <qpe/config.h> 51#include <qpe/config.h>
52 52
53class AccountList : public QList<MailAccount> 53class AccountList : public QList<MailAccount>
54{ 54{
55public: 55public:
56 Item newItem(Item d); 56 Item newItem(Item d);
57private: 57private:
58 MailAccount* dupl(MailAccount *in); 58 MailAccount* dupl(MailAccount *in);
59 MailAccount *ac; 59 MailAccount *ac;
60}; 60};
61 61
62//class EmailClient : public EmailClientBase 62//class EmailClient : public EmailClientBase
63class EmailClient : public QMainWindow 63class EmailClient : public QMainWindow
64{ 64{
65 Q_OBJECT 65 Q_OBJECT
66 66
@@ -117,33 +117,33 @@ private:
117 117
118 EditAccount *editAccountView; 118 EditAccount *editAccountView;
119 EmailListItem *item; 119 EmailListItem *item;
120 EmailHandler *emailHandler; 120 EmailHandler *emailHandler;
121 QList<Email> quedMessages; 121 QList<Email> quedMessages;
122 MailList mailDownloadList; 122 MailList mailDownloadList;
123 bool sending, receiving, previewingMail, allAccounts; 123 bool sending, receiving, previewingMail, allAccounts;
124 QString lineShift; 124 QString lineShift;
125 MailAccount account, *currentAccount; 125 MailAccount account, *currentAccount;
126 126
127 QToolBar *bar; 127 QToolBar *bar;
128 QProgressBar *progressBar; 128 QProgressBar *progressBar;
129 QStatusBar *statusBar; 129 QStatusBar *statusBar;
130 QLabel *status1Label, *status2Label; 130 QLabel *status1Label, *status2Label;
131 QAction *getMailButton; 131 QAction *getMailButton;
132 QAction *sendMailButton; 132 QAction *sendMailButton;
133 QAction *composeButton; 133 QAction *composeButton;
134 QAction *cancelButton; 134 QAction *cancelButton;
135 135
136 QMenuBar *mb; 136 QMenuBar *mb;
137 QPopupMenu *selectAccountMenu; 137 QPopupMenu *selectAccountMenu;
138 QPopupMenu *editAccountMenu; 138 QPopupMenu *editAccountMenu;
139 QPopupMenu *deleteAccountMenu; 139 QPopupMenu *deleteAccountMenu;
140 140
141 QTabWidget* mailboxView; 141 OTabWidget* mailboxView;
142 QListView* inboxView; 142 QListView* inboxView;
143 QListView* outboxView; 143 QListView* outboxView;
144 144
145 QGridLayout* grid_2; 145 QGridLayout* grid_2;
146 QGridLayout* grid_3; 146 QGridLayout* grid_3;
147}; 147};
148 148
149#endif // EMAILCLIENT_H 149#endif // EMAILCLIENT_H