Diffstat (limited to 'noncore/net/mail/libmailwrapper/settings.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/mail/libmailwrapper/settings.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/noncore/net/mail/libmailwrapper/settings.h b/noncore/net/mail/libmailwrapper/settings.h index bf27b97..8683a05 100644 --- a/noncore/net/mail/libmailwrapper/settings.h +++ b/noncore/net/mail/libmailwrapper/settings.h | |||
@@ -68,52 +68,57 @@ public: | |||
68 | virtual void read(); | 68 | virtual void read(); |
69 | virtual void save(); | 69 | virtual void save(); |
70 | virtual QString getFileName(); | 70 | virtual QString getFileName(); |
71 | 71 | ||
72 | void setPrefix(const QString&str) {prefix=str;} | 72 | void setPrefix(const QString&str) {prefix=str;} |
73 | const QString&getPrefix()const{return prefix;} | 73 | const QString&getPrefix()const{return prefix;} |
74 | 74 | ||
75 | private: | 75 | private: |
76 | QString file,prefix; | 76 | QString file,prefix; |
77 | 77 | ||
78 | }; | 78 | }; |
79 | 79 | ||
80 | class POP3account : public Account | 80 | class POP3account : public Account |
81 | { | 81 | { |
82 | 82 | ||
83 | public: | 83 | public: |
84 | POP3account(); | 84 | POP3account(); |
85 | POP3account( QString filename ); | 85 | POP3account( QString filename ); |
86 | 86 | ||
87 | static QString getUniqueFileName(); | 87 | static QString getUniqueFileName(); |
88 | 88 | ||
89 | virtual void read(); | 89 | virtual void read(); |
90 | virtual void save(); | 90 | virtual void save(); |
91 | virtual QString getFileName(); | 91 | virtual QString getFileName(); |
92 | virtual bool getCheckMaxSize()const; | ||
93 | virtual void setCheckMaxSize(bool); | ||
94 | virtual int getMaxSize()const; | ||
95 | virtual void setMaxSize(int); | ||
92 | 96 | ||
93 | private: | 97 | private: |
94 | QString file; | 98 | QString file; |
95 | 99 | bool m_CheckSize; | |
100 | int m_MaxSize; | ||
96 | }; | 101 | }; |
97 | 102 | ||
98 | class SMTPaccount : public Account | 103 | class SMTPaccount : public Account |
99 | { | 104 | { |
100 | 105 | ||
101 | public: | 106 | public: |
102 | SMTPaccount(); | 107 | SMTPaccount(); |
103 | SMTPaccount( QString filename ); | 108 | SMTPaccount( QString filename ); |
104 | 109 | ||
105 | static QString getUniqueFileName(); | 110 | static QString getUniqueFileName(); |
106 | 111 | ||
107 | virtual void read(); | 112 | virtual void read(); |
108 | virtual void save(); | 113 | virtual void save(); |
109 | virtual QString getFileName(); | 114 | virtual QString getFileName(); |
110 | 115 | ||
111 | void setLogin( bool b ) { login = b; } | 116 | void setLogin( bool b ) { login = b; } |
112 | bool getLogin() { return login; } | 117 | bool getLogin() { return login; } |
113 | 118 | ||
114 | private: | 119 | private: |
115 | QString file, name, mail, org, cc, bcc, reply, signature; | 120 | QString file, name, mail, org, cc, bcc, reply, signature; |
116 | bool useCC, useBCC, useReply, login; | 121 | bool useCC, useBCC, useReply, login; |
117 | 122 | ||
118 | }; | 123 | }; |
119 | 124 | ||