korganizer

KOGlobals Class Reference

List of all members.

Detailed Description

Definition at line 37 of file koglobals.h.


Public Types

enum  { INCIDENCEADDED, INCIDENCEEDITED, INCIDENCEDELETED }
enum  {
  PRIORITY_MODIFIED, COMPLETION_MODIFIED, CATEGORY_MODIFIED, DATE_MODIFIED,
  RELATION_MODIFIED, ALARM_MODIFIED, DESCRIPTION_MODIFIED, SUMMARY_MODIFIED,
  COMPLETION_MODIFIED_WITH_RECURRENCE, 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 &)
int getWorkWeekMask ()
void setHolidays (KHolidays *h)
KHolidays * holidays () const

Static Public Member Functions

static KOGlobalsself ()
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 186 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 180 of file koglobals.cpp.


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