journal.hGo 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 typedef boost::shared_ptr<const Journal> ConstPtr;
00060
00064 Journal();
00065
00069 ~Journal();
00070
00075 QByteArray type() const;
00076
00081
00082
00087 Journal *clone();
00088
00092 Journal &operator=( const Journal &other );
00093
00099 bool operator==( const Journal &journal ) const;
00100
00101 private:
00106 bool accept( Visitor &v ) { return v.visit( this ); }
00107
00108
00109 class Private;
00110 Private *const d;
00111
00112 };
00113
00114 }
00115
00116
00117
00118 namespace KPIMUtils {
00119 template <> struct SuperClass<KCal::Journal> : public SuperClassTrait<KCal::Incidence>{};
00120 }
00121
00122
00123 #endif
|