Akonadi
relation.cpp
50 return d->left == other.d->left && d->right == other.d->right && d->type == other.d->type && d->remoteId == other.d->remoteId;
102 return (d->left.isValid() || !d->left.remoteId().isEmpty()) && (d->right.isValid() || !d->right.remoteId().isEmpty()) && !d->type.isEmpty();
107 return (3 * qHash(relation.left()) + qHash(relation.right()) + qHash(relation.type()) + qHash(relation.remoteId()));
QTextStream & right(QTextStream &stream)
Item left() const
Returns the identifier of the left side of the relation.
Definition: relation.cpp:65
QTextStream & left(QTextStream &stream)
QDataStream & operator<<(QDataStream &out, const KDateTime &dateTime)
void setRemoteId(const QByteArray &type)
Sets the remote id of the relation.
Definition: relation.cpp:90
void setLeft(const Item &item)
Sets the item of the left side of the relation.
Definition: relation.cpp:60
KCALENDARCORE_EXPORT uint qHash(const KCalendarCore::Period &key)
void setRight(const Akonadi::Item &item)
Sets the item of the right side of the relation.
Definition: relation.cpp:70
static const char * GENERIC
The GENERIC type represents a generic relation between two items.
Definition: relation.h:47
VehicleSection::Type type(QStringView coachNumber, QStringView coachClassification)
Item right() const
Returns the identifier of the right side of the relation.
Definition: relation.cpp:75
Helper integration between Akonadi and Qt.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jun 30 2022 03:51:46 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jun 30 2022 03:51:46 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.