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 @@ -1,16 +1,11 @@ #ifndef MAILWRAPPER_H #define MAILWRAPPER_H #include <qpe/applnk.h> -#include <libetpan/mailmime.h> -#include <libetpan/mailimf.h> -#include <libetpan/mailsmtp.h> -#include <libetpan/mailstorage.h> -#include <libetpan/maildriver.h> #include <qbitarray.h> #include <qdatetime.h> #include "settings.h" class Attachment @@ -90,37 +85,7 @@ class IMAPFolder : public Folder private: static QString decodeFolderName( const QString &name ); bool m_MaySelect; }; -class MailWrapper : public QObject -{ - Q_OBJECT - -public: - MailWrapper( Settings *s ); - void sendMail( Mail mail ); - -private: - mailimf_mailbox *newMailbox(const QString&name,const QString&mail ); - mailimf_address_list *parseAddresses(const QString&addr ); - mailimf_fields *createImfFields( Mail *mail ); - mailmime *buildTxtPart( QString str ); - mailmime *buildFilePart( QString filename, QString mimetype ); - void addFileParts( mailmime *message, QList<Attachment> files ); - mailmime *createMimeMail( Mail *mail ); - void smtpSend( mailmime *mail ); - mailimf_field *getField( mailimf_fields *fields, int type ); - clist *createRcptList( mailimf_fields *fields ); - char *getFrom( mailmime *mail ); - SMTPaccount *getAccount( QString from ); - void writeToFile( QString file, mailmime *mail ); - void readFromFile( QString file, char **data, size_t *size ); - static QString mailsmtpError( int err ); - static QString getTmpFile(); - - Settings *settings; - -}; - #endif |