Diffstat (limited to 'noncore/net/mail/libmailwrapper/mailwrapper.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/mail/libmailwrapper/mailwrapper.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/noncore/net/mail/libmailwrapper/mailwrapper.h b/noncore/net/mail/libmailwrapper/mailwrapper.h index 02fe4b7..8fd886f 100644 --- a/noncore/net/mail/libmailwrapper/mailwrapper.h +++ b/noncore/net/mail/libmailwrapper/mailwrapper.h | |||
@@ -3,11 +3,6 @@ | |||
3 | 3 | ||
4 | #include <qpe/applnk.h> | 4 | #include <qpe/applnk.h> |
5 | 5 | ||
6 | #include <libetpan/mailmime.h> | ||
7 | #include <libetpan/mailimf.h> | ||
8 | #include <libetpan/mailsmtp.h> | ||
9 | #include <libetpan/mailstorage.h> | ||
10 | #include <libetpan/maildriver.h> | ||
11 | #include <qbitarray.h> | 6 | #include <qbitarray.h> |
12 | #include <qdatetime.h> | 7 | #include <qdatetime.h> |
13 | 8 | ||
@@ -93,34 +88,4 @@ class IMAPFolder : public Folder | |||
93 | 88 | ||
94 | }; | 89 | }; |
95 | 90 | ||
96 | class MailWrapper : public QObject | ||
97 | { | ||
98 | Q_OBJECT | ||
99 | |||
100 | public: | ||
101 | MailWrapper( Settings *s ); | ||
102 | void sendMail( Mail mail ); | ||
103 | |||
104 | private: | ||
105 | mailimf_mailbox *newMailbox(const QString&name,const QString&mail ); | ||
106 | mailimf_address_list *parseAddresses(const QString&addr ); | ||
107 | mailimf_fields *createImfFields( Mail *mail ); | ||
108 | mailmime *buildTxtPart( QString str ); | ||
109 | mailmime *buildFilePart( QString filename, QString mimetype ); | ||
110 | void addFileParts( mailmime *message, QList<Attachment> files ); | ||
111 | mailmime *createMimeMail( Mail *mail ); | ||
112 | void smtpSend( mailmime *mail ); | ||
113 | mailimf_field *getField( mailimf_fields *fields, int type ); | ||
114 | clist *createRcptList( mailimf_fields *fields ); | ||
115 | char *getFrom( mailmime *mail ); | ||
116 | SMTPaccount *getAccount( QString from ); | ||
117 | void writeToFile( QString file, mailmime *mail ); | ||
118 | void readFromFile( QString file, char **data, size_t *size ); | ||
119 | static QString mailsmtpError( int err ); | ||
120 | static QString getTmpFile(); | ||
121 | |||
122 | Settings *settings; | ||
123 | |||
124 | }; | ||
125 | |||
126 | #endif | 91 | #endif |