summaryrefslogtreecommitdiffabout
path: root/kmicromail/libmailwrapper/settings.h
Unidiff
Diffstat (limited to 'kmicromail/libmailwrapper/settings.h') (more/less context) (show whitespace changes)
-rw-r--r--kmicromail/libmailwrapper/settings.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/kmicromail/libmailwrapper/settings.h b/kmicromail/libmailwrapper/settings.h
index 85b817c..61051dd 100644
--- a/kmicromail/libmailwrapper/settings.h
+++ b/kmicromail/libmailwrapper/settings.h
@@ -16,48 +16,51 @@ class Account
16public: 16public:
17 Account(); 17 Account();
18 virtual ~Account() {} 18 virtual ~Account() {}
19 19
20 void remove(); 20 void remove();
21 void setAccountName( QString name ) { accountName = name; } 21 void setAccountName( QString name ) { accountName = name; }
22 const QString&getAccountName()const{ return accountName; } 22 const QString&getAccountName()const{ return accountName; }
23 MAILLIB::ATYPE getType()const{ return type; } 23 MAILLIB::ATYPE getType()const{ return type; }
24 24
25 void setServer(const QString&str){ server = str; } 25 void setServer(const QString&str){ server = str; }
26 const QString&getServer()const{ return server; } 26 const QString&getServer()const{ return server; }
27 27
28 void setLocalFolder( QString name ) { localFolder = name; } 28 void setLocalFolder( QString name ) { localFolder = name; }
29 const QString& getLocalFolder()const{ return localFolder; } 29 const QString& getLocalFolder()const{ return localFolder; }
30 30
31 void setPort(const QString&str) { port = str; } 31 void setPort(const QString&str) { port = str; }
32 const QString&getPort()const{ return port; } 32 const QString&getPort()const{ return port; }
33 33
34 void setUser(const QString&str){ user = str; } 34 void setUser(const QString&str){ user = str; }
35 const QString&getUser()const{ return user; } 35 const QString&getUser()const{ return user; }
36 36
37 void setPassword(const QString&str) { password = str; } 37 void setPassword(const QString&str) { password = str; }
38 const QString&getPassword()const { return password; } 38 const QString&getPassword()const { return password; }
39 39
40 void setPasswordList(const QStringList &str);
41 QStringList getPasswordList();
42
40 void setSSL( bool b ) { ssl = b; } 43 void setSSL( bool b ) { ssl = b; }
41 bool getSSL() { return ssl; } 44 bool getSSL() { return ssl; }
42 45
43 void setConnectionType( int x ) { connectionType = x; } 46 void setConnectionType( int x ) { connectionType = x; }
44 int ConnectionType() { return connectionType; } 47 int ConnectionType() { return connectionType; }
45 48
46 void setMaxMailSize( int x ) { maxMailSize = x; } 49 void setMaxMailSize( int x ) { maxMailSize = x; }
47 int getMaxMailSize() { return maxMailSize; } 50 int getMaxMailSize() { return maxMailSize; }
48 51
49 void setOffline(bool b) {offline = b;} 52 void setOffline(bool b) {offline = b;}
50 bool getOffline()const{return offline;} 53 bool getOffline()const{return offline;}
51 54
52 bool getLeaveOnServer(){ return leaveOnServer;} 55 bool getLeaveOnServer(){ return leaveOnServer;}
53 void setLeaveOnServer(bool b){ leaveOnServer = b;} 56 void setLeaveOnServer(bool b){ leaveOnServer = b;}
54 57
55 virtual QString getFileName() { return accountName; } 58 virtual QString getFileName() { return accountName; }
56 virtual void read() { ; } 59 virtual void read() { ; }
57 virtual void save() { ; } 60 virtual void save() { ; }
58 61
59protected: 62protected:
60 QString accountName, server, port, user, password; 63 QString accountName, server, port, user, password;
61 bool ssl; 64 bool ssl;
62 int connectionType; 65 int connectionType;
63 bool offline; 66 bool offline;