Diffstat (limited to 'noncore/net/mailit/emailhandler.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/mailit/emailhandler.h | 1 |
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 | ||
107 | class EmailHandler : public QObject | 107 | class EmailHandler : public QObject |
108 | { | 108 | { |
109 | Q_OBJECT | 109 | Q_OBJECT |
110 | 110 | ||
111 | public: | 111 | public: |
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 | ||