korganizer

KOPrefs Class Reference

Inheritance diagram for KOPrefs:

KOPrefsBase List of all members.

Detailed Description

Definition at line 41 of file koprefs.h.


Public Member Functions

virtual ~KOPrefs ()
void usrSetDefaults ()
void usrReadConfig ()
void usrWriteConfig ()
void setFullName (const QString &)
QString fullName ()
void setEmail (const QString &)
QString email ()
QStringList allEmails ()
QStringList fullEmails ()
bool thatIsMe (const QString &email)
void setCategoryColor (const QString &cat, const QColor &color)
QColor * categoryColor (const QString &cat)
bool hasCategoryColor (const QString &cat) const
void setResourceColor (const QString &, const QColor &)
QColor * resourceColor (const QString &)

Static Public Member Functions

static KOPrefsinstance ()

Public Attributes

QString mHtmlExportFile
QString mPublishPassword
QString mRetrievePassword
QString mName
QString mEmail

Protected Member Functions

void setCategoryDefaults ()
void setTimeZoneIdDefault ()
void fillMailDefaults ()

Member Function Documentation

KOPrefs * KOPrefs::instance (  )  [static]

Get instance of KOPrefs.

It is made sure that there is only one instance.

Definition at line 104 of file koprefs.cpp.

void KOPrefs::usrSetDefaults (  ) 

Set preferences to default values.

Definition at line 114 of file koprefs.cpp.

void KOPrefs::usrReadConfig (  ) 

Read preferences from config file.

Definition at line 171 of file koprefs.cpp.

void KOPrefs::usrWriteConfig (  ) 

Write preferences to config file.

Definition at line 224 of file koprefs.cpp.

void KOPrefs::fillMailDefaults (  )  [protected]

Fill empty mail fields with default values.

Definition at line 134 of file koprefs.cpp.

QStringList KOPrefs::allEmails (  ) 

Returns all email addresses for the user.

Definition at line 340 of file koprefs.cpp.

QStringList KOPrefs::fullEmails (  ) 

Returns all email addresses together with the full username for the user.

Definition at line 355 of file koprefs.cpp.

bool KOPrefs::thatIsMe ( const QString &  email  ) 

Return true if the given email belongs to the user.

Definition at line 385 of file koprefs.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys