Diffstat (limited to 'kmicromail/libmailwrapper/settings.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | kmicromail/libmailwrapper/settings.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kmicromail/libmailwrapper/settings.h b/kmicromail/libmailwrapper/settings.h index 61051dd..79567ef 100644 --- a/kmicromail/libmailwrapper/settings.h +++ b/kmicromail/libmailwrapper/settings.h | |||
@@ -1,42 +1,43 @@ | |||
1 | #ifndef SETTINGS_H | 1 | #ifndef SETTINGS_H |
2 | #define SETTINGS_H | 2 | #define SETTINGS_H |
3 | 3 | ||
4 | #include "maildefines.h" | 4 | #include "maildefines.h" |
5 | 5 | ||
6 | /* OPIE */ | 6 | /* OPIE */ |
7 | 7 | ||
8 | /* QT */ | 8 | /* QT */ |
9 | #include <qobject.h> | 9 | #include <qobject.h> |
10 | #include <qlist.h> | 10 | #include <qlist.h> |
11 | #include <qstringlist.h> | ||
11 | #include <qdatetime.h> | 12 | #include <qdatetime.h> |
12 | 13 | ||
13 | class Account | 14 | class Account |
14 | { | 15 | { |
15 | 16 | ||
16 | public: | 17 | public: |
17 | Account(); | 18 | Account(); |
18 | virtual ~Account() {} | 19 | virtual ~Account() {} |
19 | 20 | ||
20 | void remove(); | 21 | void remove(); |
21 | void setAccountName( QString name ) { accountName = name; } | 22 | void setAccountName( QString name ) { accountName = name; } |
22 | const QString&getAccountName()const{ return accountName; } | 23 | const QString&getAccountName()const{ return accountName; } |
23 | MAILLIB::ATYPE getType()const{ return type; } | 24 | MAILLIB::ATYPE getType()const{ return type; } |
24 | 25 | ||
25 | void setServer(const QString&str){ server = str; } | 26 | void setServer(const QString&str){ server = str; } |
26 | const QString&getServer()const{ return server; } | 27 | const QString&getServer()const{ return server; } |
27 | 28 | ||
28 | void setLocalFolder( QString name ) { localFolder = name; } | 29 | void setLocalFolder( QString name ) { localFolder = name; } |
29 | const QString& getLocalFolder()const{ return localFolder; } | 30 | const QString& getLocalFolder()const{ return localFolder; } |
30 | 31 | ||
31 | void setPort(const QString&str) { port = str; } | 32 | void setPort(const QString&str) { port = str; } |
32 | const QString&getPort()const{ return port; } | 33 | const QString&getPort()const{ return port; } |
33 | 34 | ||
34 | void setUser(const QString&str){ user = str; } | 35 | void setUser(const QString&str){ user = str; } |
35 | const QString&getUser()const{ return user; } | 36 | const QString&getUser()const{ return user; } |
36 | 37 | ||
37 | void setPassword(const QString&str) { password = str; } | 38 | void setPassword(const QString&str) { password = str; } |
38 | const QString&getPassword()const { return password; } | 39 | const QString&getPassword()const { return password; } |
39 | 40 | ||
40 | void setPasswordList(const QStringList &str); | 41 | void setPasswordList(const QStringList &str); |
41 | QStringList getPasswordList(); | 42 | QStringList getPasswordList(); |
42 | 43 | ||