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

kalarm

KARecurrence Class Reference

#include <karecurrence.h>

Inheritance diagram for KARecurrence:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 31 of file karecurrence.h.


Public Types

enum  Type {
  NO_RECUR, MINUTELY, DAILY, WEEKLY,
  MONTHLY_POS, MONTHLY_DAY, ANNUAL_DATE, ANNUAL_POS
}

Public Member Functions

QDate endDate () const
KDateTime endDateTime () const
Preferences::Feb29Type feb29Type () const
void fix ()
KDateTime getNextDateTime (const KDateTime &preDateTime) const
KDateTime getPreviousDateTime (const KDateTime &afterDateTime) const
bool init (KCal::RecurrenceRule::PeriodType t, int freq, int count, const KDateTime &start, const KDateTime &end, Preferences::Feb29Type f29)
bool init (KCal::RecurrenceRule::PeriodType t, int freq, int count, const KDateTime &start, const KDateTime &end)
 KARecurrence (const KARecurrence &r)
 KARecurrence (const KCal::Recurrence &r)
 KARecurrence ()
KCal::Duration longestInterval () const
bool recursOn (const QDate &, const KDateTime::Spec &) const
KCal::Duration regularInterval () const
bool set (Type t, int freq, int count, const KDateTime &start, const KDateTime &end, Preferences::Feb29Type f29)
bool set (Type t, int freq, int count, const KDateTime &start, const KDateTime &end)
bool set (const QString &icalRRULE)
Type type () const
void writeRecurrence (KCal::Recurrence &) const

Static Public Member Functions

static bool dailyType (const KCal::RecurrenceRule *)
static Preferences::Feb29Type defaultFeb29Type ()
static void setDefaultFeb29Type (Preferences::Feb29Type t)
static Type type (const KCal::RecurrenceRule *)

Member Enumeration Documentation

enum KARecurrence::Type

The recurrence's period type.

This is a subset of the possible KCal recurrence types.

Enumerator:
NO_RECUR 
MINUTELY 
DAILY 
WEEKLY 
MONTHLY_POS 
MONTHLY_DAY 
ANNUAL_DATE 
ANNUAL_POS 

Definition at line 37 of file karecurrence.h.


Constructor & Destructor Documentation

KARecurrence::KARecurrence (  )  [inline]

Definition at line 48 of file karecurrence.h.

KARecurrence::KARecurrence ( const KCal::Recurrence &  r  )  [inline]

Definition at line 49 of file karecurrence.h.

KARecurrence::KARecurrence ( const KARecurrence &  r  )  [inline]

Definition at line 50 of file karecurrence.h.


Member Function Documentation

static bool KARecurrence::dailyType ( const KCal::RecurrenceRule *   )  [static]

static Preferences::Feb29Type KARecurrence::defaultFeb29Type (  )  [inline, static]

Definition at line 73 of file karecurrence.h.

QDate KARecurrence::endDate (  )  const

Definition at line 586 of file karecurrence.cpp.

KDateTime KARecurrence::endDateTime (  )  const

Definition at line 518 of file karecurrence.cpp.

Preferences::Feb29Type KARecurrence::feb29Type (  )  const [inline]

Definition at line 72 of file karecurrence.h.

void KARecurrence::fix (  ) 

Definition at line 188 of file karecurrence.cpp.

KDateTime KARecurrence::getNextDateTime ( const KDateTime &  preDateTime  )  const

Definition at line 354 of file karecurrence.cpp.

KDateTime KARecurrence::getPreviousDateTime ( const KDateTime &  afterDateTime  )  const

Definition at line 373 of file karecurrence.cpp.

bool KARecurrence::init ( KCal::RecurrenceRule::PeriodType  t,
int  freq,
int  count,
const KDateTime &  start,
const KDateTime &  end,
Preferences::Feb29Type  f29 
) [inline]

Definition at line 58 of file karecurrence.h.

bool KARecurrence::init ( KCal::RecurrenceRule::PeriodType  t,
int  freq,
int  count,
const KDateTime &  start,
const KDateTime &  end 
) [inline]

Definition at line 56 of file karecurrence.h.

Duration KARecurrence::longestInterval (  )  const

Definition at line 696 of file karecurrence.cpp.

bool KARecurrence::recursOn ( const QDate &  dt,
const KDateTime::Spec &  timeSpec 
) const

Definition at line 596 of file karecurrence.cpp.

Duration KARecurrence::regularInterval (  )  const

Definition at line 824 of file karecurrence.cpp.

bool KARecurrence::set ( Type  t,
int  freq,
int  count,
const KDateTime &  start,
const KDateTime &  end,
Preferences::Feb29Type  f29 
) [inline]

Definition at line 54 of file karecurrence.h.

bool KARecurrence::set ( Type  t,
int  freq,
int  count,
const KDateTime &  start,
const KDateTime &  end 
) [inline]

Definition at line 52 of file karecurrence.h.

bool KARecurrence::set ( const QString &  icalRRULE  ) 

Definition at line 164 of file karecurrence.cpp.

static void KARecurrence::setDefaultFeb29Type ( Preferences::Feb29Type  t  )  [inline, static]

Definition at line 74 of file karecurrence.h.

static Type KARecurrence::type ( const KCal::RecurrenceRule *   )  [static]

KARecurrence::Type KARecurrence::type (  )  const

Definition at line 896 of file karecurrence.cpp.

void KARecurrence::writeRecurrence ( KCal::Recurrence &  recur  )  const

Definition at line 393 of file karecurrence.cpp.


The documentation for this class was generated from the following files:
  • karecurrence.h
  • karecurrence.cpp

kalarm

Skip menu "kalarm"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  •   doc
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal