libkdepim
KPimPrefs Class Reference
List of all members.Detailed Description
Definition at line 31 of file kpimprefs.h.
Public Member Functions | |
KPimPrefs (const QString &name=QString::null) | |
virtual | ~KPimPrefs () |
void | usrSetDefaults () |
void | usrReadConfig () |
void | usrWriteConfig () |
Static Public Member Functions | |
static const QString | timezone () |
static QDateTime | utcToLocalTime (const QDateTime &dt, const QString &timeZoneId) |
static QDateTime | localTimeToUtc (const QDateTime &dt, const QString &timeZoneId) |
Public Attributes | |
QStringList | mCustomCategories |
Protected Member Functions | |
virtual void | setCategoryDefaults () |
Member Function Documentation
|
Convert time given in local time at timezone specified by given timezone id to UTC.
Definition at line 138 of file kpimprefs.cpp. |
|
Get user's timezone. This will first look for whatever timezone is stored in KOrganizer's configuration file. If no timezone is found there, it uses /etc/localtime. The value returned may be in various formats (for example, America/New_York or EST) so your program should be prepared to these formats. The Calendar class in libkcal says accepts all timezone codes that are listed in /usr/share/zoneinfo/zone.tab.
Definition at line 62 of file kpimprefs.cpp. |
|
Read preferences from config file.
Definition at line 52 of file kpimprefs.cpp. |
|
Set preferences to default values.
Definition at line 47 of file kpimprefs.cpp. |
|
Write preferences to config file.
Definition at line 183 of file kpimprefs.cpp. |
|
Convert time given in UTC to local time at timezone specified by given timezone id.
Definition at line 95 of file kpimprefs.cpp. |
The documentation for this class was generated from the following files: