Changeset View
Changeset View
Standalone View
Standalone View
src/attachment.h
Show All 30 Lines | |||||
31 | 31 | | |||
32 | #include "kcalcore_export.h" | 32 | #include "kcalcore_export.h" | ||
33 | 33 | | |||
34 | #include <QHash> | 34 | #include <QHash> | ||
35 | #include <QString> | 35 | #include <QString> | ||
36 | #include <QSharedDataPointer> | 36 | #include <QSharedDataPointer> | ||
37 | #include <QMetaType> | 37 | #include <QMetaType> | ||
38 | 38 | | |||
39 | namespace KCalCore | 39 | namespace KCalendarCore | ||
40 | { | 40 | { | ||
41 | 41 | | |||
42 | /** | 42 | /** | ||
43 | @brief | 43 | @brief | ||
44 | Represents information related to an attachment for a Calendar Incidence. | 44 | Represents information related to an attachment for a Calendar Incidence. | ||
45 | 45 | | |||
46 | This is not an email message attachment. | 46 | This is not an email message attachment. | ||
47 | 47 | | |||
▲ Show 20 Lines • Show All 225 Lines • ▼ Show 20 Line(s) | 73 | public: | |||
273 | bool operator!=(const Attachment &attachment) const; | 273 | bool operator!=(const Attachment &attachment) const; | ||
274 | 274 | | |||
275 | private: | 275 | private: | ||
276 | //@cond PRIVATE | 276 | //@cond PRIVATE | ||
277 | class Private; | 277 | class Private; | ||
278 | QSharedDataPointer<Private> d; | 278 | QSharedDataPointer<Private> d; | ||
279 | //@endcond | 279 | //@endcond | ||
280 | 280 | | |||
281 | friend KCALCORE_EXPORT QDataStream &operator<<(QDataStream &s, const KCalCore::Attachment&); | 281 | friend KCALCORE_EXPORT QDataStream &operator<<(QDataStream &s, const KCalendarCore::Attachment&); | ||
282 | friend KCALCORE_EXPORT QDataStream &operator>>(QDataStream &s, KCalCore::Attachment&); | 282 | friend KCALCORE_EXPORT QDataStream &operator>>(QDataStream &s, KCalendarCore::Attachment&); | ||
283 | }; | 283 | }; | ||
284 | 284 | | |||
285 | /** | 285 | /** | ||
286 | * Attachment serializer. | 286 | * Attachment serializer. | ||
287 | * | 287 | * | ||
288 | * @since 4.12 | 288 | * @since 4.12 | ||
289 | */ | 289 | */ | ||
290 | KCALCORE_EXPORT QDataStream &operator<<(QDataStream &out, const KCalCore::Attachment&); | 290 | KCALCORE_EXPORT QDataStream &operator<<(QDataStream &out, const KCalendarCore::Attachment&); | ||
291 | 291 | | |||
292 | /** | 292 | /** | ||
293 | * Attachment deserializer. | 293 | * Attachment deserializer. | ||
294 | * | 294 | * | ||
295 | * @since 4.12 | 295 | * @since 4.12 | ||
296 | */ | 296 | */ | ||
297 | KCALCORE_EXPORT QDataStream &operator>>(QDataStream &in, KCalCore::Attachment&); | 297 | KCALCORE_EXPORT QDataStream &operator>>(QDataStream &in, KCalendarCore::Attachment&); | ||
298 | 298 | | |||
299 | } | 299 | } | ||
300 | 300 | | |||
301 | //@cond PRIVATE | 301 | //@cond PRIVATE | ||
302 | Q_DECLARE_TYPEINFO(KCalCore::Attachment, Q_MOVABLE_TYPE); | 302 | Q_DECLARE_TYPEINFO(KCalendarCore::Attachment, Q_MOVABLE_TYPE); | ||
303 | Q_DECLARE_METATYPE(KCalCore::Attachment) | 303 | Q_DECLARE_METATYPE(KCalendarCore::Attachment) | ||
304 | //@endcond | 304 | //@endcond | ||
305 | 305 | | |||
306 | #endif | 306 | #endif |