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 @@ #include <qstatusbar.h> #include <qdir.h> #include <stdlib.h> #include <opie/otabwidget.h> +#include <qpe/qcopenvelope_qws.h> #include <qtimer.h> #include "emailhandler.h" #include "emaillistitem.h" @@ -69,12 +70,11 @@ class EmailClient : public QMainWindow public: EmailClient( QWidget* parent, const char* name, WFlags fl = 0 ); ~EmailClient(); AddressList* getAdrListRef(); - void download(Email*); protected: - void timerEvent(QTimerEvent*); + //void timerEvent(QTimerEvent*); signals: void composeRequested(); void viewEmail(QListView *, Email *); @@ -115,15 +115,20 @@ public slots: void setTotalSize(int); void setMailSize(int); void setDownloadedSize(int); void moveMailFront(Email *mailPtr); + void download(Email*); /* void reply(); void replyAll(); void forward(); void remove();*/ +private slots: + void receive(const QCString&, const QByteArray&); + private: void init(); + void initStatusBar(QWidget*); void readMail(); QString getPath(bool enclosurePath); void readSettings(); void saveSettings(); @@ -145,8 +150,10 @@ private: bool sending, receiving, previewingMail, allAccounts; QString lineShift; MailAccount account, *currentAccount; + QCopChannel* channel; + QToolBar *bar; QProgressBar *progressBar; QStatusBar *statusBar; QLabel *status1Label, *status2Label; |