• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

korganizer

KOPrefs Class Reference

#include <koprefs.h>

Inheritance diagram for KOPrefs:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 40 of file koprefs.h.


Public Member Functions

QStringList allEmails ()
QColor categoryColor (const QString &cat) const
QString email ()
QStringList fullEmails ()
QString fullName ()
bool hasCategoryColor (const QString &cat) const
QColor resourceColor (const QString &)
void setCategoryColor (const QString &cat, const QColor &color)
void setEmail (const QString &)
void setFullName (const QString &)
void setResourceColor (const QString &, const QColor &)
void setTimeScaleTimezones (const QStringList &list)
void setTimeSpec (const KDateTime::Spec &spec)
bool thatIsMe (const QString &email)
QStringList timeScaleTimezones ()
KDateTime::Spec timeSpec ()
void usrReadConfig ()
void usrSetDefaults ()
void usrWriteConfig ()
virtual ~KOPrefs ()

Static Public Member Functions

static KOPrefs * instance ()

Public Attributes

QString mEmail
QString mHtmlExportFile
QString mName
QString mPublishPassword
QString mRetrievePassword

Protected Member Functions

void fillMailDefaults ()
void setCategoryDefaults ()
void setTimeZoneDefault ()

Constructor & Destructor Documentation

KOPrefs::~KOPrefs (  )  [virtual]

Definition at line 95 of file koprefs.cpp.


Member Function Documentation

QStringList KOPrefs::allEmails (  ) 

Returns all email addresses for the user.

Definition at line 373 of file koprefs.cpp.

QColor KOPrefs::categoryColor ( const QString &  cat  )  const

Definition at line 295 of file koprefs.cpp.

QString KOPrefs::email (  ) 

Definition at line 363 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::fullEmails (  ) 

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

Definition at line 388 of file koprefs.cpp.

QString KOPrefs::fullName (  ) 

Definition at line 353 of file koprefs.cpp.

bool KOPrefs::hasCategoryColor ( const QString &  cat  )  const

Definition at line 310 of file koprefs.cpp.

KOPrefs * KOPrefs::instance (  )  [static]

Get instance of KOPrefs.

It is made sure that there is only one instance.

Definition at line 100 of file koprefs.cpp.

QColor KOPrefs::resourceColor ( const QString &  cal  ) 

Definition at line 321 of file koprefs.cpp.

void KOPrefs::setCategoryColor ( const QString &  cat,
const QColor &  color 
)

Definition at line 290 of file koprefs.cpp.

void KOPrefs::setCategoryDefaults (  )  [protected]

Definition at line 176 of file koprefs.cpp.

void KOPrefs::setEmail ( const QString &   ) 

void KOPrefs::setFullName ( const QString &   ) 

void KOPrefs::setResourceColor ( const QString &  cal,
const QColor &  color 
)

Definition at line 315 of file koprefs.cpp.

void KOPrefs::setTimeScaleTimezones ( const QStringList &  list  ) 

Definition at line 464 of file koprefs.cpp.

void KOPrefs::setTimeSpec ( const KDateTime::Spec &  spec  ) 

Definition at line 171 of file koprefs.cpp.

void KOPrefs::setTimeZoneDefault (  )  [protected]

Definition at line 149 of file koprefs.cpp.

bool KOPrefs::thatIsMe ( const QString &  email  ) 

Return true if the given email belongs to the user.

Definition at line 418 of file koprefs.cpp.

QStringList KOPrefs::timeScaleTimezones (  ) 

Definition at line 459 of file koprefs.cpp.

KDateTime::Spec KOPrefs::timeSpec (  ) 

Definition at line 162 of file koprefs.cpp.

void KOPrefs::usrReadConfig (  ) 

Read preferences from config file.

Definition at line 195 of file koprefs.cpp.

void KOPrefs::usrSetDefaults (  ) 

Set preferences to default values.

Definition at line 110 of file koprefs.cpp.

void KOPrefs::usrWriteConfig (  ) 

Write preferences to config file.

Definition at line 245 of file koprefs.cpp.


Member Data Documentation

QString KOPrefs::mEmail

Definition at line 121 of file koprefs.h.

QString KOPrefs::mHtmlExportFile

Definition at line 95 of file koprefs.h.

QString KOPrefs::mName

Definition at line 120 of file koprefs.h.

QString KOPrefs::mPublishPassword

Definition at line 98 of file koprefs.h.

QString KOPrefs::mRetrievePassword

Definition at line 99 of file koprefs.h.


The documentation for this class was generated from the following files:
  • koprefs.h
  • koprefs.cpp

korganizer

Skip menu "korganizer"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  •   doc
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal