• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • Sitemap
  • Contact Us
 

KCal Library

KCal::FreeBusyPeriod

KCal::FreeBusyPeriod Class Reference

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

#include <freebusyperiod.h>

Inheritance diagram for KCal::FreeBusyPeriod:

Inheritance graph
[legend]

List of all members.


Public Types

typedef QList< FreeBusyPeriod > List

Public Member Functions

 FreeBusyPeriod (const Period &period)
 FreeBusyPeriod (const FreeBusyPeriod &period)
 FreeBusyPeriod (const KDateTime &start, const Duration &duration)
 FreeBusyPeriod (const KDateTime &start, const KDateTime &end)
 FreeBusyPeriod ()
QString location () const
FreeBusyPeriod & operator= (const FreeBusyPeriod &other)
void setLocation (const QString &location)
void setSummary (const QString &summary)
QString summary () const
 ~FreeBusyPeriod ()

Detailed Description

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 48 of file freebusyperiod.h.


Member Typedef Documentation

typedef QList<FreeBusyPeriod> KCal::FreeBusyPeriod::List

List of periods.

Reimplemented from KCal::Period.

Definition at line 54 of file freebusyperiod.h.


Constructor & Destructor Documentation

FreeBusyPeriod::FreeBusyPeriod (  ) 

Constructs a period without a duration.

Definition at line 51 of file freebusyperiod.cpp.

FreeBusyPeriod::FreeBusyPeriod ( const KDateTime &  start,
const KDateTime &  end 
)

Constructs a period from start to end.

Parameters:
start the time the period begins.
end the time the period ends.

Definition at line 55 of file freebusyperiod.cpp.

FreeBusyPeriod::FreeBusyPeriod ( const KDateTime &  start,
const Duration &  duration 
)

Constructs a period from start and lasting duration.

Parameters:
start the time when the period starts.
duration how long the period lasts.

Definition at line 60 of file freebusyperiod.cpp.

FreeBusyPeriod::FreeBusyPeriod ( const FreeBusyPeriod &  period  ) 

Constructs a period by copying another period object.

Parameters:
period the period to copy

Definition at line 65 of file freebusyperiod.cpp.

FreeBusyPeriod::FreeBusyPeriod ( const Period &  period  ) 

Constructs a period by copying another period object.

Parameters:
period the period to copy

Definition at line 70 of file freebusyperiod.cpp.

FreeBusyPeriod::~FreeBusyPeriod (  ) 

Destroys a period.

Definition at line 75 of file freebusyperiod.cpp.


Member Function Documentation

FreeBusyPeriod & FreeBusyPeriod::operator= ( const FreeBusyPeriod &  other  ) 

Sets this period equal to the other one.

Parameters:
other is the other period to compare.

Definition at line 80 of file freebusyperiod.cpp.


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

KCal Library

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

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  • kabc
  • kblog
  • kcal
  • kimap
  • kioslave
  •   imap4
  •   mbox
  • kldap
  • kmime
  • kpimidentities
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.5.8
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