summaryrefslogtreecommitdiff
path: root/noncore/unsupported/mailit/emailclient.h
Unidiff
Diffstat (limited to 'noncore/unsupported/mailit/emailclient.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/unsupported/mailit/emailclient.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/unsupported/mailit/emailclient.h b/noncore/unsupported/mailit/emailclient.h
index 0890dcf..549683b 100644
--- a/noncore/unsupported/mailit/emailclient.h
+++ b/noncore/unsupported/mailit/emailclient.h
@@ -61,24 +61,25 @@ private:
61 MailAccount *ac; 61 MailAccount *ac;
62}; 62};
63 63
64//class EmailClient : public EmailClientBase 64//class EmailClient : public EmailClientBase
65class EmailClient : public QMainWindow 65class EmailClient : public QMainWindow
66{ 66{
67 Q_OBJECT 67 Q_OBJECT
68 68
69public: 69public:
70 EmailClient( QWidget* parent, const char* name, WFlags fl = 0 ); 70 EmailClient( QWidget* parent, const char* name, WFlags fl = 0 );
71 ~EmailClient(); 71 ~EmailClient();
72 AddressList* getAdrListRef(); 72 AddressList* getAdrListRef();
73 void download(Email*);
73 74
74protected: 75protected:
75 void timerEvent(QTimerEvent*); 76 void timerEvent(QTimerEvent*);
76 77
77signals: 78signals:
78 void composeRequested(); 79 void composeRequested();
79 void viewEmail(QListView *, Email *); 80 void viewEmail(QListView *, Email *);
80 void mailUpdated(Email *); 81 void mailUpdated(Email *);
81 void newCaption(const QString &); 82 void newCaption(const QString &);
82 void replyRequested(Email&, bool&); 83 void replyRequested(Email&, bool&);
83 void forwardRequested(Email&); 84 void forwardRequested(Email&);
84 void removeItem(EmailListItem*, bool&); 85 void removeItem(EmailListItem*, bool&);
@@ -130,24 +131,26 @@ private:
130 int timerID; 131 int timerID;
131 Config *mailconf; 132 Config *mailconf;
132 int newAccountId, idCount, mailIdCount; 133 int newAccountId, idCount, mailIdCount;
133 int accountIdCount; 134 int accountIdCount;
134 AccountList accountList; 135 AccountList accountList;
135 AddressList *addressList; 136 AddressList *addressList;
136 137
137 EditAccount *editAccountView; 138 EditAccount *editAccountView;
138 EmailListItem *item; 139 EmailListItem *item;
139 EmailHandler *emailHandler; 140 EmailHandler *emailHandler;
140 QList<Email> quedMessages; 141 QList<Email> quedMessages;
141 MailList mailDownloadList; 142 MailList mailDownloadList;
143 MailList tempMailDownloadList;
144
142 bool sending, receiving, previewingMail, allAccounts; 145 bool sending, receiving, previewingMail, allAccounts;
143 QString lineShift; 146 QString lineShift;
144 MailAccount account, *currentAccount; 147 MailAccount account, *currentAccount;
145 148
146 QToolBar *bar; 149 QToolBar *bar;
147 QProgressBar *progressBar; 150 QProgressBar *progressBar;
148 QStatusBar *statusBar; 151 QStatusBar *statusBar;
149 QLabel *status1Label, *status2Label; 152 QLabel *status1Label, *status2Label;
150 QToolButton *getMailButton; 153 QToolButton *getMailButton;
151 QAction *sendMailButton; 154 QAction *sendMailButton;
152 QAction *composeButton; 155 QAction *composeButton;
153 QAction *cancelButton; 156 QAction *cancelButton;