KCal Library
journal.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 Copyright (C) 2003-2004 Reinhold Kainhofer <reinhold@kainhofer.com> 00006 00007 This library is free software; you can redistribute it and/or 00008 modify it under the terms of the GNU Library General Public 00009 License as published by the Free Software Foundation; either 00010 version 2 of the License, or (at your option) any later version. 00011 00012 This library is distributed in the hope that it will be useful, 00013 but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 Library General Public License for more details. 00016 00017 You should have received a copy of the GNU Library General Public License 00018 along with this library; see the file COPYING.LIB. If not, write to 00019 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00020 Boston, MA 02110-1301, USA. 00021 */ 00030 #ifndef KCAL_JOURNAL_H 00031 #define KCAL_JOURNAL_H 00032 00033 #include "incidence.h" 00034 #include <QtCore/QByteArray> 00035 00036 namespace KCal { 00037 00042 class KCAL_EXPORT Journal : public Incidence 00043 { 00044 public: 00048 typedef ListBase<Journal> List; 00049 00053 Journal(); 00054 00058 ~Journal(); 00059 00064 QByteArray type() const; 00065 00070 Journal *clone(); 00071 00077 bool operator==( const Journal &journal ) const; 00078 00079 private: 00084 bool accept( Visitor &v ) { return v.visit( this ); } 00085 00086 //@cond PRIVATE 00087 class Private; 00088 Private *const d; 00089 //@endcond 00090 }; 00091 00092 } 00093 00094 #endif