libkcal

KCal::Period Class Reference

This class represents a period of time. More...

#include <period.h>

List of all members.


Public Member Functions

Duration duration ()
QDateTime end () const
bool hasDuration () const
QString location () const
bool operator< (const Period &other)
 Period (const QDateTime &start, const Duration &duration)
 Period (const QDateTime &start, const QDateTime &end)
 Period ()
void setLocation (const QString &location)
void setSummary (const QString &summary)
QDateTime start () const
QString summary () const

Detailed Description

This class represents a period of time.

The period can be defined by either a start time and an end time or by a start time and a duration.

Definition at line 35 of file period.h.


Constructor & Destructor Documentation

Period::Period (  ) 

Definition at line 29 of file period.cpp.

Period::Period ( const QDateTime start,
const QDateTime end 
)

Definition at line 34 of file period.cpp.

Period::Period ( const QDateTime start,
const Duration duration 
)

Definition at line 41 of file period.cpp.


Member Function Documentation

Duration Period::duration (  ) 

Definition at line 64 of file period.cpp.

QDateTime Period::end (  )  const

Definition at line 59 of file period.cpp.

bool Period::hasDuration (  )  const

Definition at line 69 of file period.cpp.

QString KCal::Period::location (  )  const

Definition at line 84 of file period.cpp.

bool Period::operator< ( const Period other  ) 

Returns true if this element is smaller than the.

Parameters:
other one

Definition at line 49 of file period.cpp.

void KCal::Period::setLocation ( const QString location  ) 

Definition at line 89 of file period.cpp.

void KCal::Period::setSummary ( const QString summary  ) 

Definition at line 79 of file period.cpp.

QDateTime Period::start (  )  const

Definition at line 54 of file period.cpp.

QString KCal::Period::summary (  )  const

Definition at line 74 of file period.cpp.


The documentation for this class was generated from the following files: