9#include "parametermap_p.h"
14using namespace KContacts;
23 Private(
const Private &other)
26 mParamMap = other.mParamMap;
30 ParameterMap mParamMap;
39Role::Role(
const Role &other)
54void Role::setRole(
const QString &role)
64bool Role::isValid()
const
66 return !d->role.isEmpty();
69void Role::setParams(
const ParameterMap ¶ms)
71 d->mParamMap = params;
74ParameterMap Role::params()
const
79bool Role::operator==(
const Role &other)
const
81 return (d->mParamMap == other.d->mParamMap) && (d->role == other.role());
84bool Role::operator!=(
const Role &other)
const
86 return !(other == *
this);
89Role &Role::operator=(
const Role &other)
101 str += QStringLiteral(
" role: %1\n").
arg(d->role);
102 str += d->mParamMap.toString();
109 return s << role.d->mParamMap << role.d->role;
114 s >> role.d->mParamMap >> role.d->role;
QString arg(Args &&... args) const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:06:34 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.