41Person::Person(
const Person &other)
56void Person::setId(
const QString &u)
66void Person::setFirstName(
const QString &name)
68 d->m_firstName =
name;
71QString Person::firstName()
const
73 return d->m_firstName;
76void Person::setLastName(
const QString &name)
86void Person::setBirthday(
const QDate &date)
91QDate Person::birthday()
const
96void Person::setCountry(
const QString &c)
106void Person::setLatitude(qreal l)
111qreal Person::latitude()
const
113 return d->m_latitude;
116void Person::setLongitude(qreal l)
121qreal Person::longitude()
const
123 return d->m_longitude;
126void Person::setAvatarUrl(
const QUrl &url)
128 d->m_avatarUrl = url;
131QUrl Person::avatarUrl()
const
133 return d->m_avatarUrl;
136void Person::setHomepage(
const QString &h)
141QString Person::homepage()
const
143 return d->m_homepage;
146void Person::setCity(
const QString &h)
155void Person::addExtendedAttribute(
const QString &key,
const QString &value)
157 d->m_extendedAttributes.insert(key, value);
162 return d->m_extendedAttributes.value(key);
167 return d->m_extendedAttributes;
170bool Person::isValid()
const
172 return !(d->m_id.isEmpty());
QString name(StandardAction id)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:58:18 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.