summaryrefslogtreecommitdiffabout
path: root/kmicromail/libmailwrapper/settings.h
Side-by-side diff
Diffstat (limited to 'kmicromail/libmailwrapper/settings.h') (more/less context) (show whitespace changes)
-rw-r--r--kmicromail/libmailwrapper/settings.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/kmicromail/libmailwrapper/settings.h b/kmicromail/libmailwrapper/settings.h
index ba3ec89..c33c403 100644
--- a/kmicromail/libmailwrapper/settings.h
+++ b/kmicromail/libmailwrapper/settings.h
@@ -5,12 +5,13 @@
/* OPIE */
/* QT */
#include <qobject.h>
#include <qlist.h>
+#include <qdatetime.h>
class Account
{
public:
Account();
@@ -21,12 +22,15 @@ public:
const QString&getAccountName()const{ return accountName; }
MAILLIB::ATYPE getType()const{ return type; }
void setServer(const QString&str){ server = str; }
const QString&getServer()const{ return server; }
+ void setLocalFolder( QString name ) { localFolder = name; }
+ const QString& getLocalFolder()const{ return localFolder; }
+
void setPort(const QString&str) { port = str; }
const QString&getPort()const{ return port; }
void setUser(const QString&str){ user = str; }
const QString&getUser()const{ return user; }
@@ -36,12 +40,14 @@ public:
void setSSL( bool b ) { ssl = b; }
bool getSSL() { return ssl; }
void setConnectionType( int x ) { connectionType = x; }
int ConnectionType() { return connectionType; }
+ void setMaxMailSize( int x ) { maxMailSize = x; }
+ int getMaxMailSize() { return maxMailSize; }
void setOffline(bool b) {offline = b;}
bool getOffline()const{return offline;}
virtual QString getFileName() { return accountName; }
virtual void read() { ; }
@@ -50,12 +56,15 @@ public:
protected:
QString accountName, server, port, user, password;
bool ssl;
int connectionType;
bool offline;
MAILLIB::ATYPE type;
+ QString localFolder;
+ int maxMailSize;
+ QDateTime lastFetch;
};
class IMAPaccount : public Account
{
public: