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

Type information.

Definition at line 44 of file kaccount.h.


Member Function Documentation

QString KAccount::name (  )  const [inline]

Get/Set name.

Definition at line 59 of file kaccount.h.

uint KAccount::id (  )  const [inline]

Get/Set id.

Definition at line 65 of file kaccount.h.

Type KAccount::type (  )  const [inline]

Get/Set type.

Definition at line 71 of file kaccount.h.

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:
KDE Home | KDE Accessibility Home | Description of Access Keys