Diffstat (limited to 'noncore/net/mail/libmailwrapper/smtpwrapper.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/mail/libmailwrapper/smtpwrapper.h | 28 |
1 files changed, 3 insertions, 25 deletions
diff --git a/noncore/net/mail/libmailwrapper/smtpwrapper.h b/noncore/net/mail/libmailwrapper/smtpwrapper.h index 7f6aac1..1796df7 100644 --- a/noncore/net/mail/libmailwrapper/smtpwrapper.h +++ b/noncore/net/mail/libmailwrapper/smtpwrapper.h | |||
@@ -11,17 +11,8 @@ | |||
11 | #include "settings.h" | 11 | #include "settings.h" |
12 | #include "generatemail.h" | ||
12 | 13 | ||
13 | class Mail; | ||
14 | class AbstractMail; | ||
15 | class RecMail; | ||
16 | class Attachment; | ||
17 | struct mailimf_fields; | ||
18 | struct mailimf_field; | ||
19 | struct mailimf_mailbox; | ||
20 | struct mailmime; | ||
21 | struct mailimf_address_list; | ||
22 | class progressMailSend; | ||
23 | struct mailsmtp; | ||
24 | class SMTPaccount; | 14 | class SMTPaccount; |
15 | class AbstractMail; | ||
25 | 16 | ||
26 | class SMTPwrapper : public QObject | 17 | class SMTPwrapper : public Generatemail |
27 | { | 18 | { |
@@ -48,12 +39,4 @@ protected: | |||
48 | 39 | ||
49 | mailimf_mailbox *newMailbox(const QString&name,const QString&mail ); | ||
50 | mailimf_fields *createImfFields(const Mail &mail ); | ||
51 | mailmime *createMimeMail(const Mail&mail ); | ||
52 | 40 | ||
53 | mailimf_address_list *parseAddresses(const QString&addr ); | ||
54 | void addFileParts( mailmime *message,const QList<Attachment>&files ); | ||
55 | mailmime *buildTxtPart(const QString&str ); | ||
56 | mailmime *buildFilePart(const QString&filename,const QString&mimetype,const QString&content); | ||
57 | void smtpSend( mailmime *mail,bool later); | 41 | void smtpSend( mailmime *mail,bool later); |
58 | clist *createRcptList( mailimf_fields *fields ); | ||
59 | 42 | ||
@@ -62,6 +45,2 @@ protected: | |||
62 | static void progress( size_t current, size_t maximum ); | 45 | static void progress( size_t current, size_t maximum ); |
63 | static void addRcpts( clist *list, mailimf_address_list *addr_list ); | ||
64 | static char *getFrom( mailmime *mail ); | ||
65 | static char *getFrom( mailimf_field *ffrom); | ||
66 | static mailimf_field *getField( mailimf_fields *fields, int type ); | ||
67 | 46 | ||
@@ -75,3 +54,2 @@ protected: | |||
75 | int m_queuedMail; | 54 | int m_queuedMail; |
76 | static const char* USER_AGENT; | ||
77 | 55 | ||