libkdepim
KAccount Class Reference
List of all members.Detailed Description
Definition at line 40 of file kaccount.h.
Public Types | |
enum | Type { Imap, MBox, Maildir, News, DImap, Other } |
Public Member Functions | |
KAccount (const uint id=0, const QString &name=QString::null, const Type type=Other) | |
QString | name () const |
void | setName (const QString &name) |
uint | id () const |
void | setId (const uint id) |
Type | type () const |
void | setType (const Type type) |
void | writeConfig (KConfig &config, const QString &group=QString::null) |
void | readConfig (KConfig &config, const QString &group=QString::null) |
Protected Attributes | |
uint | mId |
QString | mName |
Type | mType |
Member Enumeration Documentation
enum KAccount::Type |
Member Function Documentation
QString KAccount::name | ( | ) | const [inline] |
uint KAccount::id | ( | ) | const [inline] |
Type KAccount::type | ( | ) | const [inline] |
void KAccount::writeConfig | ( | KConfig & | config, | |
const QString & | group = QString::null | |||
) |
Save the settings If the group is empty it must be preset in the KConfig.
Definition at line 42 of file kaccount.cpp.
void KAccount::readConfig | ( | KConfig & | config, | |
const QString & | group = QString::null | |||
) |
Read the settings If the group is empty it must be preset in the KConfig.
Definition at line 53 of file kaccount.cpp.
The documentation for this class was generated from the following files: