Changeset View
Changeset View
Standalone View
Standalone View
src/journal.h
Show All 27 Lines | 22 | /** | |||
---|---|---|---|---|---|
28 | @author Reinhold Kainhofer \<reinhold@kainhofer.com\> | 28 | @author Reinhold Kainhofer \<reinhold@kainhofer.com\> | ||
29 | */ | 29 | */ | ||
30 | #ifndef KCALCORE_JOURNAL_H | 30 | #ifndef KCALCORE_JOURNAL_H | ||
31 | #define KCALCORE_JOURNAL_H | 31 | #define KCALCORE_JOURNAL_H | ||
32 | 32 | | |||
33 | #include "kcalcore_export.h" | 33 | #include "kcalcore_export.h" | ||
34 | #include "incidence.h" | 34 | #include "incidence.h" | ||
35 | 35 | | |||
36 | namespace KCalCore | 36 | namespace KCalendarCore | ||
37 | { | 37 | { | ||
38 | 38 | | |||
39 | /** | 39 | /** | ||
40 | @brief | 40 | @brief | ||
41 | Provides a Journal in the sense of RFC2445. | 41 | Provides a Journal in the sense of RFC2445. | ||
42 | */ | 42 | */ | ||
43 | class KCALCORE_EXPORT Journal : public Incidence | 43 | class KCALCORE_EXPORT Journal : public Incidence | ||
44 | { | 44 | { | ||
▲ Show 20 Lines • Show All 67 Lines • ▼ Show 20 Line(s) | 45 | public: | |||
112 | 112 | | |||
113 | /** | 113 | /** | ||
114 | @copydoc | 114 | @copydoc | ||
115 | Incidence::supportsGroupwareCommunication() | 115 | Incidence::supportsGroupwareCommunication() | ||
116 | */ | 116 | */ | ||
117 | Q_REQUIRED_RESULT bool supportsGroupwareCommunication() const override; | 117 | Q_REQUIRED_RESULT bool supportsGroupwareCommunication() const override; | ||
118 | 118 | | |||
119 | /** | 119 | /** | ||
120 | Returns the Akonadi specific sub MIME type of a KCalCore::Journal. | 120 | Returns the Akonadi specific sub MIME type of a KCalendarCore::Journal. | ||
121 | */ | 121 | */ | ||
122 | Q_REQUIRED_RESULT static QLatin1String journalMimeType(); | 122 | Q_REQUIRED_RESULT static QLatin1String journalMimeType(); | ||
123 | 123 | | |||
124 | protected: | 124 | protected: | ||
125 | /** | 125 | /** | ||
126 | Compare this with @p journal for equality. | 126 | Compare this with @p journal for equality. | ||
127 | 127 | | |||
128 | @param journal is the journal to compare. | 128 | @param journal is the journal to compare. | ||
Show All 32 Lines | 144 | private: | |||
161 | void deserialize(QDataStream &in) override; | 161 | void deserialize(QDataStream &in) override; | ||
162 | 162 | | |||
163 | //@cond PRIVATE | 163 | //@cond PRIVATE | ||
164 | class Private; | 164 | class Private; | ||
165 | Private *const d; | 165 | Private *const d; | ||
166 | //@endcond | 166 | //@endcond | ||
167 | }; | 167 | }; | ||
168 | 168 | | |||
169 | } // namespace KCalCore | 169 | } // namespace KCalendarCore | ||
170 | 170 | | |||
171 | //@cond PRIVATE | 171 | //@cond PRIVATE | ||
172 | Q_DECLARE_TYPEINFO(KCalCore::Journal::Ptr, Q_MOVABLE_TYPE); | 172 | Q_DECLARE_TYPEINFO(KCalendarCore::Journal::Ptr, Q_MOVABLE_TYPE); | ||
173 | Q_DECLARE_METATYPE(KCalCore::Journal::Ptr) | 173 | Q_DECLARE_METATYPE(KCalendarCore::Journal::Ptr) | ||
174 | Q_DECLARE_METATYPE(KCalCore::Journal *) | 174 | Q_DECLARE_METATYPE(KCalendarCore::Journal *) | ||
175 | //@endcond | 175 | //@endcond | ||
176 | 176 | | |||
177 | #endif | 177 | #endif |