QDebug operator<<(QDebug dbg, const QContactRelationship& rel) { dbg.nospace() << "QContactRelationship(" << rel.first() << ' ' << rel.relationshipType() << ' ' << rel.second() << ')'; return dbg.maybeSpace(); }
/*! * Returns the hash value for \a key. * \since 1.0 */ uint qHash(const QContactRelationship &key) { return qHash(key.first()) + qHash(key.second()) + QT_PREPEND_NAMESPACE(qHash)(key.relationshipType()); }