summaryrefslogtreecommitdiff
path: root/noncore/unsupported/mail2/libmail/mailfactory.h
Unidiff
Diffstat (limited to 'noncore/unsupported/mail2/libmail/mailfactory.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/mail2/libmail/mailfactory.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/unsupported/mail2/libmail/mailfactory.h b/noncore/unsupported/mail2/libmail/mailfactory.h
index 8f67447..c938c27 100644
--- a/noncore/unsupported/mail2/libmail/mailfactory.h
+++ b/noncore/unsupported/mail2/libmail/mailfactory.h
@@ -1,49 +1,49 @@
1#ifndef MAILFACTORY_H 1#ifndef MAILFACTORY_H
2#define MAILFACTORY_H 2#define MAILFACTORY_H
3 3
4#include <qobject.h> 4#include <qobject.h>
5 5
6#include <qpe/applnk.h> 6#include <qpe/applnk.h>
7 7
8#include "configfile.h" 8#include "configfile.h"
9 9
10class Attachment 10class Attachment
11{ 11{
12public: 12public:
13 void setFileName(QString fileName) { _fileName = fileName; } 13 void setFileName(QString fileName) { _fileName = fileName; }
14 void setNewName(QString newName) { _newName = newName; } 14 void setNewName(QString newName) { _newName = newName; }
15 void setDescription(QString description) { _description = description; } 15 void setDescription(QString description) { _description = description; }
16 void setDocLnk(DocLnk *docLnk) { _docLnk = docLnk; } 16 void setDocLnk(DocLnk docLnk) { _docLnk = docLnk; }
17 17
18 QString fileName() { return _fileName; } 18 QString fileName() { return _fileName; }
19 QString newName() { return _newName; } 19 QString newName() { return _newName; }
20 QString description() { return _description; } 20 QString description() { return _description; }
21 DocLnk *docLnk() { return _docLnk; } 21 DocLnk docLnk() { return _docLnk; }
22 22
23protected: 23protected:
24 QString _fileName, _newName, _description; 24 QString _fileName, _newName, _description;
25 DocLnk *_docLnk; 25 DocLnk _docLnk;
26 26
27}; 27};
28 28
29class SendMail 29class SendMail
30{ 30{
31public: 31public:
32 SendMail() { _needsMime = false; } 32 SendMail() { _needsMime = false; }
33 33
34 void setAccount(Account account) { _account = account; } 34 void setAccount(Account account) { _account = account; }
35 35
36 void setFrom(QString from) { _from = from; } 36 void setFrom(QString from) { _from = from; }
37 void setReplyTo(QString replyTo) { _replyTo = replyTo; } 37 void setReplyTo(QString replyTo) { _replyTo = replyTo; }
38 void setTo(QString to) { _to = to; } 38 void setTo(QString to) { _to = to; }
39 void setCc(QString cc) { _cc = cc; } 39 void setCc(QString cc) { _cc = cc; }
40 void setBcc(QString bcc) { _bcc = bcc; } 40 void setBcc(QString bcc) { _bcc = bcc; }
41 void setSubject(QString subject) { _subject = subject; } 41 void setSubject(QString subject) { _subject = subject; }
42 void setPriority(QString priority) { _priority = priority; } 42 void setPriority(QString priority) { _priority = priority; }
43 void setMessage(QString message) { _message = message; } 43 void setMessage(QString message) { _message = message; }
44 void setInReplyTo(QString inReplyTo) { _inReplyTo = inReplyTo; } 44 void setInReplyTo(QString inReplyTo) { _inReplyTo = inReplyTo; }
45 45
46 void setNeedsMime(bool needsMime) { _needsMime = needsMime; } 46 void setNeedsMime(bool needsMime) { _needsMime = needsMime; }
47 47
48 //void setEncrypt(bool encrypt) { _encrypt = encrypt; } 48 //void setEncrypt(bool encrypt) { _encrypt = encrypt; }
49 //void setSign(bool sign) { _sign = sign; } 49 //void setSign(bool sign) { _sign = sign; }