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

KCal Library

freebusyperiod.h

Go to the documentation of this file.
00001 /*
00002   This file is part of the kcal library.
00003 
00004   Copyright (c) 2001-2003 Cornelius Schumacher <schumacher@kde.org>
00005 
00006   This library is free software; you can redistribute it and/or
00007   modify it under the terms of the GNU Library General Public
00008   License as published by the Free Software Foundation; either
00009   version 2 of the License, or (at your option) any later version.
00010 
00011   This library is distributed in the hope that it will be useful,
00012   but WITHOUT ANY WARRANTY; without even the implied warranty of
00013   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014   Library General Public License for more details.
00015 
00016   You should have received a copy of the GNU Library General Public License
00017   along with this library; see the file COPYING.LIB.  If not, write to
00018   the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00019   Boston, MA 02110-1301, USA.
00020 */
00032 #ifndef KCAL_FREEBUSYPERIOD_H
00033 #define KCAL_FREEBUSYPERIOD_H
00034 
00035 #include "kcal_export.h"
00036 #include "duration.h"
00037 #include "period.h"
00038 
00039 #include <kdatetime.h>
00040 #include <QtCore/QList>
00041 
00042 namespace KCal {
00043 
00048 class KCAL_EXPORT FreeBusyPeriod : public Period
00049 {
00050   public:
00054     typedef QList<FreeBusyPeriod> List;
00055 
00059     FreeBusyPeriod();
00060 
00067     FreeBusyPeriod( const KDateTime &start, const KDateTime &end );
00068 
00075     FreeBusyPeriod( const KDateTime &start, const Duration &duration );
00076 
00083     FreeBusyPeriod( const FreeBusyPeriod &period );
00084 
00091     FreeBusyPeriod( const Period &period );
00092 
00096     ~FreeBusyPeriod();
00097 
00103     FreeBusyPeriod &operator=( const FreeBusyPeriod &other );
00104 
00105     QString summary() const;
00106     void setSummary( const QString &summary );
00107     QString location() const;
00108     void setLocation( const QString &location );
00109 
00110   private:
00111     //@cond PRIVATE
00112     class Private;
00113     Private *const d;
00114     //@endcond
00115 };
00116 
00117 }
00118 
00119 #endif

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