kmail
KMail::NetworkAccount Class Reference
Inheritance diagram for KMail::NetworkAccount:

Detailed Description
Definition at line 46 of file networkaccount.h.
Public Member Functions | |
virtual | ~NetworkAccount () |
virtual void | init () |
virtual void | pseudoAssign (const KMAccount *a) |
QString | login () const |
virtual void | setLogin (const QString &login) |
QString | passwd () const |
virtual void | setPasswd (const QString &passwd, bool storeInConfig=false) |
virtual void | clearPasswd () |
QString | auth () const |
virtual void | setAuth (const QString &auth) |
bool | storePasswd () const |
virtual void | setStorePasswd (bool store) |
QString | host () const |
virtual void | setHost (const QString &host) |
unsigned short int | port () const |
virtual void | setPort (unsigned short int port) |
bool | useSSL () const |
virtual void | setUseSSL (bool use) |
bool | useTLS () const |
virtual void | setUseTLS (bool use) |
KMail::SieveConfig | sieveConfig () const |
virtual void | setSieveConfig (const KMail::SieveConfig &config) |
virtual KIO::MetaData | slaveConfig () const |
virtual void | readConfig (KConfig &config) |
virtual void | writeConfig (KConfig &config) |
virtual KURL | getUrl () const |
KIO::Slave * | slave () const |
virtual void | killAllJobs (bool disconnectSlave=false)=0 |
void | readPassword () |
virtual bool | mailCheckCanProceed () const |
virtual void | setCheckingMail (bool checking) |
Static Public Member Functions | |
static void | resetConnectionList (NetworkAccount *acct) |
Protected Member Functions | |
NetworkAccount (AccountManager *parent, const QString &name, uint id) | |
virtual QString | protocol () const =0 |
virtual unsigned short int | defaultPort () const =0 |
Protected Attributes | |
KMail::SieveConfig | mSieveConfig |
QGuardedPtr< KIO::Slave > | mSlave |
QString | mLogin |
QString | mPasswd |
QString | mAuth |
QString | mHost |
unsigned short int | mPort |
bool | mStorePasswd: 1 |
bool | mUseSSL: 1 |
bool | mUseTLS: 1 |
bool | mAskAgain: 1 |
bool | mPasswdDirty |
bool | mStorePasswdInConfig |
Member Function Documentation
|
authentication method
Definition at line 73 of file networkaccount.h. |
|
Set the password to "" (empty string).
Reimplemented from KMAccount. Definition at line 110 of file networkaccount.cpp. |
|
Definition at line 260 of file networkaccount.cpp. |
|
Server hostname.
Definition at line 81 of file networkaccount.h. |
|
Set the config options to a decent state.
Reimplemented from KMAccount. Reimplemented in KMail::ImapAccountBase, KMAcctCachedImap, and KMail::PopAccount. Definition at line 71 of file networkaccount.cpp. |
|
Kill all jobs that are currently in progress.
Implemented in KMail::ImapAccountBase, KMAcctCachedImap, KMAcctImap, and KMail::PopAccount. |
|
User login name.
Definition at line 60 of file networkaccount.h. |
|
Determines whether the account can be checked, currently. Reimplementations can use this to prevent mailchecks due to exceeded connection limits, or because a network link iis down.
Reimplemented from KMAccount. Definition at line 341 of file networkaccount.cpp. |
|
User password.
Definition at line 96 of file networkaccount.cpp. |
|
Server port number.
Definition at line 85 of file networkaccount.h. |
|
A weak assignment operator.
Reimplemented from KMAccount. Reimplemented in KMail::ImapAccountBase, KMAcctCachedImap, KMAcctImap, and KMail::PopAccount. Definition at line 276 of file networkaccount.cpp. |
|
Read config file entries. This method is called by the account manager when a new account is created. The config group is already properly set by the caller. Reimplemented from KMAccount. Reimplemented in KMail::ImapAccountBase, KMAcctCachedImap, KMAcctImap, and KMail::PopAccount. Definition at line 150 of file networkaccount.cpp. |
|
Read password from wallet, used for on-demand wallet opening.
Definition at line 292 of file networkaccount.cpp. |
|
Reset connection list for the account.
Definition at line 360 of file networkaccount.cpp. |
|
Definition at line 97 of file networkaccount.h. |
|
Definition at line 110 of file networkaccount.h. |
|
Configure the slave by adding to the meta data map.
Reimplemented in KMail::ImapAccountBase, and KMail::PopAccount. Definition at line 270 of file networkaccount.cpp. |
|
Definition at line 77 of file networkaccount.h. |
|
Definition at line 89 of file networkaccount.h. |
|
Definition at line 93 of file networkaccount.h. |
|
Write all account information to given config file. The config group is already properly set by the caller. Reimplemented from KMAccount. Reimplemented in KMail::ImapAccountBase, KMAcctCachedImap, and KMail::PopAccount. Definition at line 198 of file networkaccount.cpp. |
The documentation for this class was generated from the following files: