Changeset View
Changeset View
Standalone View
Standalone View
src/person.h
Show First 20 Lines • Show All 208 Lines • ▼ Show 20 Line(s) | |||||
209 | */ | 209 | */ | ||
210 | KCALCORE_EXPORT QDataStream &operator<<(QDataStream &stream, const KCalCore::Person::Ptr &person); | 210 | KCALCORE_EXPORT QDataStream &operator<<(QDataStream &stream, const KCalCore::Person::Ptr &person); | ||
211 | 211 | | |||
212 | /** | 212 | /** | ||
213 | Initializes the @p person object from the @p stream. | 213 | Initializes the @p person object from the @p stream. | ||
214 | */ | 214 | */ | ||
215 | KCALCORE_EXPORT QDataStream &operator>>(QDataStream &stream, KCalCore::Person::Ptr &person); | 215 | KCALCORE_EXPORT QDataStream &operator>>(QDataStream &stream, KCalCore::Person::Ptr &person); | ||
216 | 216 | | |||
217 | } | | |||
218 | | ||||
219 | /** | 217 | /** | ||
220 | Return a hash value for a Person argument. | 218 | Return a hash value for a Person argument. | ||
221 | @param key is a Person. | 219 | @param key is a Person. | ||
222 | */ | 220 | */ | ||
223 | KCALCORE_EXPORT uint qHash(const KCalCore::Person &key); | 221 | KCALCORE_EXPORT uint qHash(const KCalCore::Person &key); | ||
224 | 222 | | |||
223 | } | ||||
224 | | ||||
225 | //@cond PRIVATE | 225 | //@cond PRIVATE | ||
226 | Q_DECLARE_TYPEINFO(KCalCore::Person::Ptr, Q_MOVABLE_TYPE); | 226 | Q_DECLARE_TYPEINFO(KCalCore::Person::Ptr, Q_MOVABLE_TYPE); | ||
227 | Q_DECLARE_METATYPE(KCalCore::Person::Ptr) | 227 | Q_DECLARE_METATYPE(KCalCore::Person::Ptr) | ||
228 | //@endcond | 228 | //@endcond | ||
229 | 229 | | |||
230 | #endif | 230 | #endif |