• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

korganizer

Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
KOGlobals Class Reference

#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.

KOGlobals::KOGlobals ( )
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.

const KComponentData& KOGlobals::componentData ( ) const
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
bool KOGlobals::reverseLayout ( )
static

Definition at line 70 of file koglobals.cpp.

KOGlobals * KOGlobals::self ( )
static

Definition at line 43 of file koglobals.cpp.

void KOGlobals::setHolidays ( KHolidays::HolidayRegion *  h)

Set which holidays the user wants to use.

Parameters
ha 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:
  • koglobals.h
  • koglobals.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:33:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

korganizer

Skip menu "korganizer"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer
  • pimprint

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal