summaryrefslogtreecommitdiff
path: root/noncore/net/mailit/emailhandler.h
authorgroucho <groucho>2003-04-28 08:31:24 (UTC)
committer groucho <groucho>2003-04-28 08:31:24 (UTC)
commit63d3f7ca039d93612abaa4a65fc00b337c42ec9d (patch) (unidiff)
treeea4a08e00d5a229f20c3e4150f707a2ac8f9e882 /noncore/net/mailit/emailhandler.h
parentc3b703405fe77fbe16596ebd7d814a6e463f9243 (diff)
downloadopie-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/net/mailit/emailhandler.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/mailit/emailhandler.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/net/mailit/emailhandler.h b/noncore/net/mailit/emailhandler.h
index e47fd9a..b645868 100644
--- a/noncore/net/mailit/emailhandler.h
+++ b/noncore/net/mailit/emailhandler.h
@@ -102,24 +102,25 @@ struct MailAccount
102 const int ErrUnknownResponse = 1001; 102 const int ErrUnknownResponse = 1001;
103 const int ErrLoginFailed = 1002; 103 const int ErrLoginFailed = 1002;
104 const int ErrCancel = 1003; 104 const int ErrCancel = 1003;
105 105
106 106
107class EmailHandler : public QObject 107class EmailHandler : public QObject
108{ 108{
109 Q_OBJECT 109 Q_OBJECT
110 110
111public: 111public:
112 EmailHandler(); 112 EmailHandler();
113 void setAccount(MailAccount account); 113 void setAccount(MailAccount account);
114 MailAccount* getAccount(){return &mailAccount;}
114 void sendMail(QList<Email> *mailList); 115 void sendMail(QList<Email> *mailList);
115 void getMail(); 116 void getMail();
116 void getMailHeaders(); 117 void getMailHeaders();
117 void getMailByList(MailList *mailList); 118 void getMailByList(MailList *mailList);
118 bool parse(QString in, QString lineShift, Email *mail); 119 bool parse(QString in, QString lineShift, Email *mail);
119 bool getEnclosure(Enclosure *ePtr); 120 bool getEnclosure(Enclosure *ePtr);
120 int parse64base(char *src, char *dest); 121 int parse64base(char *src, char *dest);
121 int encodeMime(Email *mail); 122 int encodeMime(Email *mail);
122 int encodeFile(QString fileName, QString *toBody); 123 int encodeFile(QString fileName, QString *toBody);
123 void encode64base(char *src, QString *dest, int len); 124 void encode64base(char *src, QString *dest, int len);
124 void cancel(); 125 void cancel();
125 126