Changeset View
Changeset View
Standalone View
Standalone View
src/core/udsentry.cpp
Show First 20 Lines • Show All 457 Lines • ▼ Show 20 Line(s) | 456 | { | |||
---|---|---|---|---|---|
458 | return s; | 458 | return s; | ||
459 | } | 459 | } | ||
460 | 460 | | |||
461 | KIOCORE_EXPORT QDataStream &operator>>(QDataStream &s, KIO::UDSEntry &a) | 461 | KIOCORE_EXPORT QDataStream &operator>>(QDataStream &s, KIO::UDSEntry &a) | ||
462 | { | 462 | { | ||
463 | a.d->load(s); | 463 | a.d->load(s); | ||
464 | return s; | 464 | return s; | ||
465 | } | 465 | } | ||
466 | | ||||
467 | KIOCORE_EXPORT bool operator==(const KIO::UDSEntry &entry, const KIO::UDSEntry &other) | ||||
468 | { | ||||
469 | return entry.d == other.d; | ||||
470 | } | ||||
471 | | ||||
472 | KIOCORE_EXPORT bool operator!=(const KIO::UDSEntry &entry, const KIO::UDSEntry &other) | ||||
473 | { | ||||
474 | return entry.d != other.d; | ||||
475 | } |