Diffstat (limited to 'noncore/net/mailit/emailclient.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mailit/emailclient.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/noncore/net/mailit/emailclient.h b/noncore/net/mailit/emailclient.h index 549683b..994fec5 100644 --- a/noncore/net/mailit/emailclient.h +++ b/noncore/net/mailit/emailclient.h | |||
@@ -40,8 +40,9 @@ | |||
40 | #include <qstatusbar.h> | 40 | #include <qstatusbar.h> |
41 | #include <qdir.h> | 41 | #include <qdir.h> |
42 | #include <stdlib.h> | 42 | #include <stdlib.h> |
43 | #include <opie/otabwidget.h> | 43 | #include <opie/otabwidget.h> |
44 | #include <qpe/qcopenvelope_qws.h> | ||
44 | #include <qtimer.h> | 45 | #include <qtimer.h> |
45 | 46 | ||
46 | #include "emailhandler.h" | 47 | #include "emailhandler.h" |
47 | #include "emaillistitem.h" | 48 | #include "emaillistitem.h" |
@@ -69,12 +70,11 @@ class EmailClient : public QMainWindow | |||
69 | public: | 70 | public: |
70 | EmailClient( QWidget* parent, const char* name, WFlags fl = 0 ); | 71 | EmailClient( QWidget* parent, const char* name, WFlags fl = 0 ); |
71 | ~EmailClient(); | 72 | ~EmailClient(); |
72 | AddressList* getAdrListRef(); | 73 | AddressList* getAdrListRef(); |
73 | void download(Email*); | ||
74 | 74 | ||
75 | protected: | 75 | protected: |
76 | void timerEvent(QTimerEvent*); | 76 | //void timerEvent(QTimerEvent*); |
77 | 77 | ||
78 | signals: | 78 | signals: |
79 | void composeRequested(); | 79 | void composeRequested(); |
80 | void viewEmail(QListView *, Email *); | 80 | void viewEmail(QListView *, Email *); |
@@ -115,15 +115,20 @@ public slots: | |||
115 | void setTotalSize(int); | 115 | void setTotalSize(int); |
116 | void setMailSize(int); | 116 | void setMailSize(int); |
117 | void setDownloadedSize(int); | 117 | void setDownloadedSize(int); |
118 | void moveMailFront(Email *mailPtr); | 118 | void moveMailFront(Email *mailPtr); |
119 | void download(Email*); | ||
119 | /* void reply(); | 120 | /* void reply(); |
120 | void replyAll(); | 121 | void replyAll(); |
121 | void forward(); | 122 | void forward(); |
122 | void remove();*/ | 123 | void remove();*/ |
123 | 124 | ||
125 | private slots: | ||
126 | void receive(const QCString&, const QByteArray&); | ||
127 | |||
124 | private: | 128 | private: |
125 | void init(); | 129 | void init(); |
130 | void initStatusBar(QWidget*); | ||
126 | void readMail(); | 131 | void readMail(); |
127 | QString getPath(bool enclosurePath); | 132 | QString getPath(bool enclosurePath); |
128 | void readSettings(); | 133 | void readSettings(); |
129 | void saveSettings(); | 134 | void saveSettings(); |
@@ -145,8 +150,10 @@ private: | |||
145 | bool sending, receiving, previewingMail, allAccounts; | 150 | bool sending, receiving, previewingMail, allAccounts; |
146 | QString lineShift; | 151 | QString lineShift; |
147 | MailAccount account, *currentAccount; | 152 | MailAccount account, *currentAccount; |
148 | 153 | ||
154 | QCopChannel* channel; | ||
155 | |||
149 | QToolBar *bar; | 156 | QToolBar *bar; |
150 | QProgressBar *progressBar; | 157 | QProgressBar *progressBar; |
151 | QStatusBar *statusBar; | 158 | QStatusBar *statusBar; |
152 | QLabel *status1Label, *status2Label; | 159 | QLabel *status1Label, *status2Label; |