Changeset View
Changeset View
Standalone View
Standalone View
src/person.h
Show First 20 Lines • Show All 172 Lines • ▼ Show 20 Line(s) | 53 | public: | |||
---|---|---|---|---|---|
173 | Person &operator=(const Person &person); | 173 | Person &operator=(const Person &person); | ||
174 | 174 | | |||
175 | private: | 175 | private: | ||
176 | //@cond PRIVATE | 176 | //@cond PRIVATE | ||
177 | class Private; | 177 | class Private; | ||
178 | Private *const d; | 178 | Private *const d; | ||
179 | //@endcond | 179 | //@endcond | ||
180 | 180 | | |||
181 | // TODO_KDE5: FIXME: This operator does slicing,if the object is in fact one of the derived classes (Attendee) | | |||
182 | friend KCALCORE_EXPORT QDataStream &operator<<(QDataStream &s, | 181 | friend KCALCORE_EXPORT QDataStream &operator<<(QDataStream &s, | ||
183 | const KCalCore::Person::Ptr &person); | 182 | const KCalCore::Person::Ptr &person); | ||
184 | friend KCALCORE_EXPORT QDataStream &operator>>(QDataStream &s, | 183 | friend KCALCORE_EXPORT QDataStream &operator>>(QDataStream &s, | ||
185 | KCalCore::Person::Ptr &person); | 184 | KCalCore::Person::Ptr &person); | ||
186 | }; | 185 | }; | ||
187 | 186 | | |||
188 | /** | 187 | /** | ||
189 | Serializes the @p person object into the @p stream. | 188 | Serializes the @p person object into the @p stream. | ||
Show All 22 Lines |