KCal Library
journal.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00030 #ifndef KCAL_JOURNAL_H
00031 #define KCAL_JOURNAL_H
00032
00033 #include "incidence.h"
00034 #include <kpimutils/supertrait.h>
00035 #include <QtCore/QByteArray>
00036
00037 namespace KCal {
00038
00043 class KCAL_EXPORT Journal : public Incidence
00044 {
00045 public:
00049 typedef ListBase<Journal> List;
00050
00054 typedef boost::shared_ptr<Journal> Ptr;
00055
00059 Journal();
00060
00064 ~Journal();
00065
00070 QByteArray type() const;
00071
00076 Journal *clone();
00077
00081 Journal &operator=( const Journal &other );
00082
00088 bool operator==( const Journal &journal ) const;
00089
00090 private:
00095 bool accept( Visitor &v ) { return v.visit( this ); }
00096
00097
00098 class Private;
00099 Private *const d;
00100
00101 };
00102
00103 }
00104
00105
00106
00107 namespace KPIMUtils {
00108 template <> struct SuperClass<KCal::Journal> : public SuperClassTrait<KCal::Incidence>{};
00109 }
00110
00111
00112 #endif