9#include "parametermap_p.h"
11using namespace KContacts;
20 Private(
const Private &other)
23 comment = other.comment;
24 gender = other.gender;
51bool Gender::operator==(
const Gender &other)
const
53 return (d->comment == other.comment()) && (d->gender == other.gender());
56bool Gender::operator!=(
const Gender &other)
const
58 return !(other == *
this);
73 str += QStringLiteral(
" gender: %1\n").
arg(d->gender);
74 str += QStringLiteral(
" comment: %1\n").
arg(d->comment);
79void Gender::setGender(
const QString &gender)
89void Gender::setComment(
const QString &comment)
99bool Gender::isValid()
const
101 return !d->gender.isEmpty() || !d->comment.isEmpty();
106 return s << gender.d->comment << gender.d->gender;
111 s >> gender.d->comment >> gender.d->gender;
QString arg(Args &&... args) const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:26 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.