Changeset View
Changeset View
Standalone View
Standalone View
src/todo.h
Show All 28 Lines | |||||
29 | */ | 29 | */ | ||
30 | 30 | | |||
31 | #ifndef KCALCORE_TODO_H | 31 | #ifndef KCALCORE_TODO_H | ||
32 | #define KCALCORE_TODO_H | 32 | #define KCALCORE_TODO_H | ||
33 | 33 | | |||
34 | #include "kcalcore_export.h" | 34 | #include "kcalcore_export.h" | ||
35 | #include "incidence.h" | 35 | #include "incidence.h" | ||
36 | 36 | | |||
37 | namespace KCalCore | 37 | namespace KCalendarCore | ||
38 | { | 38 | { | ||
39 | 39 | | |||
40 | /** | 40 | /** | ||
41 | @brief | 41 | @brief | ||
42 | Provides a To-do in the sense of RFC2445. | 42 | Provides a To-do in the sense of RFC2445. | ||
43 | */ | 43 | */ | ||
44 | class KCALCORE_EXPORT Todo : public Incidence | 44 | class KCALCORE_EXPORT Todo : public Incidence | ||
45 | { | 45 | { | ||
▲ Show 20 Lines • Show All 260 Lines • ▼ Show 20 Line(s) | 46 | public: | |||
306 | 306 | | |||
307 | /** | 307 | /** | ||
308 | @copydoc | 308 | @copydoc | ||
309 | Incidence::supportsGroupwareCommunication() | 309 | Incidence::supportsGroupwareCommunication() | ||
310 | */ | 310 | */ | ||
311 | bool supportsGroupwareCommunication() const override; | 311 | bool supportsGroupwareCommunication() const override; | ||
312 | 312 | | |||
313 | /** | 313 | /** | ||
314 | Returns the Akonadi specific sub MIME type of a KCalCore::Todo. | 314 | Returns the Akonadi specific sub MIME type of a KCalendarCore::Todo. | ||
315 | */ | 315 | */ | ||
316 | Q_REQUIRED_RESULT static QLatin1String todoMimeType(); | 316 | Q_REQUIRED_RESULT static QLatin1String todoMimeType(); | ||
317 | 317 | | |||
318 | protected: | 318 | protected: | ||
319 | /** | 319 | /** | ||
320 | Compare this with @p todo for equality. | 320 | Compare this with @p todo for equality. | ||
321 | @param todo is the to-do to compare. | 321 | @param todo is the to-do to compare. | ||
322 | */ | 322 | */ | ||
Show All 28 Lines | 335 | private: | |||
351 | void deserialize(QDataStream &in) override; | 351 | void deserialize(QDataStream &in) override; | ||
352 | 352 | | |||
353 | //@cond PRIVATE | 353 | //@cond PRIVATE | ||
354 | class Private; | 354 | class Private; | ||
355 | Private *const d; | 355 | Private *const d; | ||
356 | //@endcond | 356 | //@endcond | ||
357 | }; | 357 | }; | ||
358 | 358 | | |||
359 | } // namespace KCalCore | 359 | } // namespace KCalendarCore | ||
360 | 360 | | |||
361 | //@cond PRIVATE | 361 | //@cond PRIVATE | ||
362 | Q_DECLARE_TYPEINFO(KCalCore::Todo::Ptr, Q_MOVABLE_TYPE); | 362 | Q_DECLARE_TYPEINFO(KCalendarCore::Todo::Ptr, Q_MOVABLE_TYPE); | ||
363 | Q_DECLARE_METATYPE(KCalCore::Todo::Ptr) | 363 | Q_DECLARE_METATYPE(KCalendarCore::Todo::Ptr) | ||
364 | Q_DECLARE_METATYPE(KCalCore::Todo *) | 364 | Q_DECLARE_METATYPE(KCalendarCore::Todo *) | ||
365 | //@endcond | 365 | //@endcond | ||
366 | 366 | | |||
367 | #endif | 367 | #endif |