korganizer
KOGlobals Class Reference
List of all members.Detailed Description
Definition at line 37 of file koglobals.h.
Public Types | |
INCIDENCEADDED | |
INCIDENCEEDITED | |
INCIDENCEDELETED | |
PRIORITY_MODIFIED | |
COMPLETION_MODIFIED | |
CATEGORY_MODIFIED | |
DATE_MODIFIED | |
RELATION_MODIFIED | |
ALARM_MODIFIED | |
DESCRIPTION_MODIFIED | |
SUMMARY_MODIFIED | |
UNKNOWN_MODIFIED | |
enum | { INCIDENCEADDED, INCIDENCEEDITED, INCIDENCEDELETED } |
enum | { PRIORITY_MODIFIED, COMPLETION_MODIFIED, CATEGORY_MODIFIED, DATE_MODIFIED, RELATION_MODIFIED, ALARM_MODIFIED, DESCRIPTION_MODIFIED, SUMMARY_MODIFIED, UNKNOWN_MODIFIED } |
Public Member Functions | |
KConfig * | config () const |
const KCalendarSystem * | calendarSystem () const |
AlarmClient * | alarmClient () const |
~KOGlobals () | |
QPixmap | smallIcon (const QString &name) |
QIconSet | smallIconSet (const QString &name, int size=0) |
QStringList | holiday (const QDate &) |
bool | isWorkDay (const QDate &) |
void | setHolidays (KHolidays *h) |
KHolidays * | holidays () const |
Static Public Member Functions | |
static KOGlobals * | self () |
static void | fitDialogToScreen (QWidget *widget, bool force=false) |
static bool | reverseLayout () |
Protected Member Functions | |
KOGlobals () |
Member Function Documentation
KHolidays * KOGlobals::holidays | ( | ) | const |
return the KHolidays object or 0 if none has been defined
Definition at line 179 of file koglobals.cpp.
void KOGlobals::setHolidays | ( | KHolidays * | h | ) |
Set which holidays the user wants to use.
- Parameters:
-
h a KHolidays object initialized with the desired locale. We capture this object, so you must not delete it.
Definition at line 173 of file koglobals.cpp.
The documentation for this class was generated from the following files: