korganizer
#include <koglobals.h>
Public Member Functions | |
~KOGlobals () | |
const KCalendarSystem * | calendarSystem () const |
const KComponentData & | componentData () const |
KConfig * | config () const |
int | getWorkWeekMask () |
QMap< QDate, QStringList > | holiday (const QDate &start, const QDate &end) const |
KHolidays::HolidayRegion * | holidays () const |
bool | isWorkDay (const QDate &qd) const |
void | setHolidays (KHolidays::HolidayRegion *h) |
QPixmap | smallIcon (const QString &name) const |
QList< QDate > | workDays (const QDate &start, const QDate &end) const |
Static Public Member Functions | |
static bool | reverseLayout () |
static KOGlobals * | self () |
Protected Member Functions | |
KOGlobals () | |
Detailed Description
Definition at line 39 of file koglobals.h.
Constructor & Destructor Documentation
KOGlobals::~KOGlobals | ( | ) |
Definition at line 60 of file koglobals.cpp.
|
protected |
Definition at line 48 of file koglobals.cpp.
Member Function Documentation
const KCalendarSystem * KOGlobals::calendarSystem | ( | ) | const |
Definition at line 65 of file koglobals.cpp.
|
inline |
Definition at line 77 of file koglobals.h.
KConfig * KOGlobals::config | ( | ) | const |
Definition at line 54 of file koglobals.cpp.
int KOGlobals::getWorkWeekMask | ( | ) |
Definition at line 125 of file koglobals.cpp.
QMap< QDate, QStringList > KOGlobals::holiday | ( | const QDate & | start, |
const QDate & | end | ||
) | const |
Definition at line 80 of file koglobals.cpp.
KHolidays::HolidayRegion * KOGlobals::holidays | ( | ) | const |
return the HolidayRegion object or 0 if none has been defined
Definition at line 136 of file koglobals.cpp.
bool KOGlobals::isWorkDay | ( | const QDate & | qd | ) | const |
|
static |
Definition at line 70 of file koglobals.cpp.
|
static |
Definition at line 43 of file koglobals.cpp.
void KOGlobals::setHolidays | ( | KHolidays::HolidayRegion * | h | ) |
Set which holidays the user wants to use.
- Parameters
-
h a HolidayRegion object initialized with the desired locale. We capture this object, so you must not delete it.
Definition at line 130 of file koglobals.cpp.
QPixmap KOGlobals::smallIcon | ( | const QString & | name | ) | const |
Definition at line 75 of file koglobals.cpp.
QList< QDate > KOGlobals::workDays | ( | const QDate & | start, |
const QDate & | end | ||
) | const |
Returns a list containing work days between start
and .
Definition at line 96 of file koglobals.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:56:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.