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_DEPRECATED 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
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Apr 30 2012 21:49:42 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Apr 30 2012 21:49:42 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.