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

KDECore

Public Member Functions | List of all members
KCalendarSystemCopticPrivate Class Reference

#include <kcalendarsystemcopticprivate_p.h>

Inheritance diagram for KCalendarSystemCopticPrivate:
Inheritance graph
[legend]

Public Member Functions

 KCalendarSystemCopticPrivate (KCalendarSystemCoptic *q)
 
virtual ~KCalendarSystemCopticPrivate ()
 
virtual KLocale::CalendarSystem calendarSystem () const
 
virtual int daysInMonth (int year, int month) const
 
virtual int daysInWeek () const
 
virtual int daysInYear (int year) const
 
virtual int earliestValidYear () const
 
virtual bool hasLeapMonths () const
 
virtual bool hasYearZero () const
 
virtual bool isLeapYear (int year) const
 
virtual int latestValidYear () const
 
virtual void loadDefaultEraList ()
 
virtual int maxDaysInWeek () const
 
virtual int maxMonthsInYear () const
 
virtual QString monthName (int month, int year, KLocale::DateTimeComponentFormat format, bool possessive) const
 
virtual int monthsInYear (int year) const
 
virtual QString weekDayName (int weekDay, KLocale::DateTimeComponentFormat format) const
 
- Public Member Functions inherited from KCalendarSystemPrivate
 KCalendarSystemPrivate (KCalendarSystem *q)
 
virtual ~KCalendarSystemPrivate ()
 
void addEra (char direction, int offset, const QDate &startDate, int startYear, const QDate &endDate, const QString &name, const QString &shortName, const QString &format)
 
int addYears (int startYear, int yearsToAdd) const
 
int applyShortYearWindow (int inputYear) const
 
KSharedConfig::Ptr config ()
 
virtual void dateDifference (const QDate &fromDate, const QDate &toDate, int *yearsDiff, int *monthsDiff, int *daysDiff, int *direction) const
 
int dayOfWeek (const QDate &date) const
 
int dayOfYear (const QDate &date) const
 
int differenceYearNumbers (int fromYear, int toYear) const
 
KCalendarEra era (const QDate &eraDate) const
 
KCalendarEra era (const QString &eraName, int yearInEra) const
 
QList< KCalendarEra > * eraList () const
 
QDate firstDayOfMonth (int year, int month) const
 
QDate firstDayOfYear (int year) const
 
virtual int integerFromString (const QString &string, int maxLength, int &readLength) const
 
QDate invalidDate () const
 
virtual int isoWeekNumber (const QDate &date, int *yearNum) const
 
virtual int isoWeeksInYear (int year) const
 
QDate lastDayOfMonth (int year, int month) const
 
QDate lastDayOfYear (int year) const
 
void loadConfig (const QString &calendarType)
 
void loadEraList (const KConfigGroup &cg)
 
void loadShortYearWindowStartYear (const KConfigGroup &cg)
 
const KLocale * locale () const
 
virtual int monthsDifference (const QDate &fromDate, const QDate &toDate) const
 
virtual int regularWeekNumber (const QDate &date, int weekStartDay, int firstWeekNumber, int *weekYear) const
 
virtual int regularWeeksInYear (int year, int weekStartDay, int firstWeekNumber) const
 
bool setAnyDate (QDate &date, int year, int month, int day) const
 
int shortYearWindowStartYear () const
 
QString simpleDateString (const QString &str) const
 
virtual int simpleWeekNumber (const QDate &date, int *yearNum) const
 
virtual int simpleWeeksInYear (int year) const
 
virtual QString stringFromInteger (int number, int padWidth=0, QChar padChar=QLatin1Char('0')) const
 
virtual QString stringFromInteger (int number, int padWidth, QChar padChar, KLocale::DigitSet digitSet) const
 
virtual int week (const QDate &date, KLocale::WeekNumberSystem weekNumberSystem, int *yearNum) const
 
virtual int weeksInYear (int year, KLocale::WeekNumberSystem weekNumberSystem) const
 
virtual int yearsDifference (const QDate &fromDate, const QDate &toDate) const
 

Additional Inherited Members

- Public Attributes inherited from KCalendarSystemPrivate
KSharedConfig::Ptr m_config
 
QList< KCalendarEra > * m_eraList
 
const KLocale * m_locale
 
int m_shortYearWindowStartYear
 
const KCalendarSystem * q
 

Detailed Description

Definition at line 25 of file kcalendarsystemcopticprivate_p.h.

Constructor & Destructor Documentation

KCalendarSystemCopticPrivate::KCalendarSystemCopticPrivate ( KCalendarSystemCoptic *  q)
explicit

Definition at line 32 of file kcalendarsystemcoptic.cpp.

KCalendarSystemCopticPrivate::~KCalendarSystemCopticPrivate ( )
virtual

Definition at line 37 of file kcalendarsystemcoptic.cpp.

Member Function Documentation

KLocale::CalendarSystem KCalendarSystemCopticPrivate::calendarSystem ( ) const
virtual

Reimplemented from KCalendarSystemPrivate.

Definition at line 41 of file kcalendarsystemcoptic.cpp.

int KCalendarSystemCopticPrivate::daysInMonth ( int  year,
int  month 
) const
virtual

Reimplemented from KCalendarSystemPrivate.

Definition at line 62 of file kcalendarsystemcoptic.cpp.

int KCalendarSystemCopticPrivate::daysInWeek ( ) const
virtual

Reimplemented from KCalendarSystemPrivate.

Definition at line 84 of file kcalendarsystemcoptic.cpp.

int KCalendarSystemCopticPrivate::daysInYear ( int  year) const
virtual

Reimplemented from KCalendarSystemPrivate.

Definition at line 75 of file kcalendarsystemcoptic.cpp.

int KCalendarSystemCopticPrivate::earliestValidYear ( ) const
virtual

Reimplemented from KCalendarSystemPrivate.

Definition at line 124 of file kcalendarsystemcoptic.cpp.

bool KCalendarSystemCopticPrivate::hasLeapMonths ( ) const
virtual

Reimplemented from KCalendarSystemPrivate.

Definition at line 104 of file kcalendarsystemcoptic.cpp.

bool KCalendarSystemCopticPrivate::hasYearZero ( ) const
virtual

Reimplemented from KCalendarSystemPrivate.

Definition at line 109 of file kcalendarsystemcoptic.cpp.

bool KCalendarSystemCopticPrivate::isLeapYear ( int  year) const
virtual

Reimplemented from KCalendarSystemPrivate.

Definition at line 89 of file kcalendarsystemcoptic.cpp.

int KCalendarSystemCopticPrivate::latestValidYear ( ) const
virtual

Reimplemented from KCalendarSystemPrivate.

Definition at line 129 of file kcalendarsystemcoptic.cpp.

void KCalendarSystemCopticPrivate::loadDefaultEraList ( )
virtual

Reimplemented from KCalendarSystemPrivate.

Definition at line 46 of file kcalendarsystemcoptic.cpp.

int KCalendarSystemCopticPrivate::maxDaysInWeek ( ) const
virtual

Reimplemented from KCalendarSystemPrivate.

Definition at line 114 of file kcalendarsystemcoptic.cpp.

int KCalendarSystemCopticPrivate::maxMonthsInYear ( ) const
virtual

Reimplemented from KCalendarSystemPrivate.

Definition at line 119 of file kcalendarsystemcoptic.cpp.

QString KCalendarSystemCopticPrivate::monthName ( int  month,
int  year,
KLocale::DateTimeComponentFormat  format,
bool  possessive 
) const
virtual

Reimplemented from KCalendarSystemPrivate.

Definition at line 159 of file kcalendarsystemcoptic.cpp.

int KCalendarSystemCopticPrivate::monthsInYear ( int  year) const
virtual

Reimplemented from KCalendarSystemPrivate.

Definition at line 56 of file kcalendarsystemcoptic.cpp.

QString KCalendarSystemCopticPrivate::weekDayName ( int  weekDay,
KLocale::DateTimeComponentFormat  format 
) const
virtual

Reimplemented from KCalendarSystemPrivate.

Definition at line 330 of file kcalendarsystemcoptic.cpp.


The documentation for this class was generated from the following files:
  • kcalendarsystemcopticprivate_p.h
  • kcalendarsystemcoptic.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:12 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDECore

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

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

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