calendarsupport
#include <kcalprefs.h>

Public Member Functions | |
| KCalPrefs () | |
| virtual | ~KCalPrefs () |
| QStringList | allEmails () |
| QColor | categoryColor (const QString &cat) const |
| QDateTime | dayBegins () const |
| Akonadi::Entity::Id | defaultCalendarId () const |
| QString | email () |
| QStringList | fullEmails () |
| QString | fullName () |
| bool | hasCategoryColor (const QString &cat) const |
| QString | mailTransport () const |
| void | setCategoryColor (const QString &cat, const QColor &color) |
| void | setDayBegins (const QDateTime &dateTime) |
| void | setDefaultCalendarId (const Akonadi::Entity::Id) |
| void | setEmail (const QString &) |
| void | setFullName (const QString &) |
| void | setTimeSpec (const KDateTime::Spec &spec) |
| bool | thatIsMe (const QString &email) |
| KDateTime::Spec | timeSpec () |
| void | usrReadConfig () |
| void | usrSetDefaults () |
| void | usrWriteConfig () |
Static Public Member Functions | |
| static KCalPrefs * | instance () |
Protected Member Functions | |
| void | fillMailDefaults () |
| void | setTimeZoneDefault () |
Detailed Description
Definition at line 34 of file kcalprefs.h.
Constructor & Destructor Documentation
| KCalPrefs::KCalPrefs | ( | ) |
Constructor disabled for public.
Use instance() to create a KCalPrefs object.
Definition at line 68 of file kcalprefs.cpp.
|
virtual |
Definition at line 72 of file kcalprefs.cpp.
Member Function Documentation
| QStringList KCalPrefs::allEmails | ( | ) |
Returns all email addresses for the user.
Definition at line 233 of file kcalprefs.cpp.
Definition at line 318 of file kcalprefs.cpp.
| QDateTime KCalPrefs::dayBegins | ( | ) | const |
Definition at line 339 of file kcalprefs.cpp.
| Akonadi::Entity::Id KCalPrefs::defaultCalendarId | ( | ) | const |
Definition at line 120 of file kcalprefs.cpp.
| QString KCalPrefs::email | ( | ) |
Definition at line 223 of file kcalprefs.cpp.
|
protected |
Fill empty mail fields with default values.
Definition at line 143 of file kcalprefs.cpp.
| QStringList KCalPrefs::fullEmails | ( | ) |
Returns all email addresses together with the full username for the user.
Definition at line 246 of file kcalprefs.cpp.
| QString KCalPrefs::fullName | ( | ) |
Definition at line 203 of file kcalprefs.cpp.
| bool KCalPrefs::hasCategoryColor | ( | const QString & | cat | ) | const |
Definition at line 329 of file kcalprefs.cpp.
|
static |
Get instance of KCalPrefs.
It is made sure that there is only one instance.
Definition at line 77 of file kcalprefs.cpp.
| QString CalendarSupport::KCalPrefs::mailTransport | ( | ) | const |
Definition at line 313 of file kcalprefs.cpp.
| void KCalPrefs::setDayBegins | ( | const QDateTime & | dateTime | ) |
Definition at line 334 of file kcalprefs.cpp.
| void KCalPrefs::setDefaultCalendarId | ( | const Akonadi::Entity::Id | id | ) |
Definition at line 125 of file kcalprefs.cpp.
| void CalendarSupport::KCalPrefs::setEmail | ( | const QString & | ) |
| void CalendarSupport::KCalPrefs::setFullName | ( | const QString & | ) |
| void KCalPrefs::setTimeSpec | ( | const KDateTime::Spec & | spec | ) |
Definition at line 115 of file kcalprefs.cpp.
|
protected |
Definition at line 130 of file kcalprefs.cpp.
| bool KCalPrefs::thatIsMe | ( | const QString & | ) |
Return true if the given email belongs to the user.
Definition at line 270 of file kcalprefs.cpp.
| KDateTime::Spec KCalPrefs::timeSpec | ( | ) |
Definition at line 110 of file kcalprefs.cpp.
| void KCalPrefs::usrReadConfig | ( | ) |
Read preferences from config file.
Definition at line 158 of file kcalprefs.cpp.
| void KCalPrefs::usrSetDefaults | ( | ) |
Set preferences to default values.
Definition at line 89 of file kcalprefs.cpp.
| void KCalPrefs::usrWriteConfig | ( | ) |
Write preferences to config file.
Definition at line 183 of file kcalprefs.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:31:15 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference