author | groucho <groucho> | 2003-04-28 08:31:24 (UTC) |
---|---|---|
committer | groucho <groucho> | 2003-04-28 08:31:24 (UTC) |
commit | 63d3f7ca039d93612abaa4a65fc00b337c42ec9d (patch) (unidiff) | |
tree | ea4a08e00d5a229f20c3e4150f707a2ac8f9e882 /noncore/unsupported/mailit/emailclient.h | |
parent | c3b703405fe77fbe16596ebd7d814a6e463f9243 (diff) | |
download | opie-63d3f7ca039d93612abaa4a65fc00b337c42ec9d.zip opie-63d3f7ca039d93612abaa4a65fc00b337c42ec9d.tar.gz opie-63d3f7ca039d93612abaa4a65fc00b337c42ec9d.tar.bz2 |
- bug fixes in the parser (from header)
- bug fixes in address selector (uses cc: now)
- remove now selects next item afterwards (speeds up mass deletion)
- smaller fixes
Diffstat (limited to 'noncore/unsupported/mailit/emailclient.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/unsupported/mailit/emailclient.h | 3 |
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 | |||
@@ -57,32 +57,33 @@ class AccountList : public QList<MailAccount> | |||
57 | public: | 57 | public: |
58 | Item newItem(Item d); | 58 | Item newItem(Item d); |
59 | private: | 59 | private: |
60 | MailAccount* dupl(MailAccount *in); | 60 | MailAccount* dupl(MailAccount *in); |
61 | MailAccount *ac; | 61 | MailAccount *ac; |
62 | }; | 62 | }; |
63 | 63 | ||
64 | //class EmailClient : public EmailClientBase | 64 | //class EmailClient : public EmailClientBase |
65 | class EmailClient : public QMainWindow | 65 | class EmailClient : public QMainWindow |
66 | { | 66 | { |
67 | Q_OBJECT | 67 | Q_OBJECT |
68 | 68 | ||
69 | public: | 69 | public: |
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 | ||
74 | protected: | 75 | protected: |
75 | void timerEvent(QTimerEvent*); | 76 | void timerEvent(QTimerEvent*); |
76 | 77 | ||
77 | signals: | 78 | signals: |
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&); |
85 | /*void reply(Email&); | 86 | /*void reply(Email&); |
86 | void replyAll(Email&); | 87 | void replyAll(Email&); |
87 | void remove(Email&); | 88 | void remove(Email&); |
88 | void forward(Email&);*/ | 89 | void forward(Email&);*/ |
@@ -126,32 +127,34 @@ private: | |||
126 | QString getPath(bool enclosurePath); | 127 | QString getPath(bool enclosurePath); |
127 | void readSettings(); | 128 | void readSettings(); |
128 | void saveSettings(); | 129 | void saveSettings(); |
129 | Email* getCurrentMail(); | 130 | Email* getCurrentMail(); |
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; |
154 | QAction *deleteButton; | 157 | QAction *deleteButton; |
155 | //QToolButton *setAccountButton; | 158 | //QToolButton *setAccountButton; |
156 | 159 | ||
157 | QMenuBar *mb; | 160 | QMenuBar *mb; |