Attica::Person Class

class Attica::Person

Represents a person. More...

Header: #include <Attica/Person>
CMake: find_package(KF6 REQUIRED COMPONENTS Attica)
target_link_libraries(mytarget PRIVATE KF6::Attica)

Public Types

Public Functions

Person()
void addExtendedAttribute(const QString &key, const QString &value)
QUrl avatarUrl() const
QDate birthday() const
QString city() const
QString country() const
QString extendedAttribute(const QString &key) const
QMap<QString, QString> extendedAttributes() const
QString firstName() const
QString homepage() const
QString id() const
bool isValid() const
QString lastName() const
qreal latitude() const
qreal longitude() const
void setAvatarUrl(const QUrl &)
void setBirthday(const QDate &)
void setCity(const QString &)
void setCountry(const QString &)
void setFirstName(const QString &)
void setHomepage(const QString &)
void setId(const QString &)
void setLastName(const QString &)
void setLatitude(qreal)
void setLongitude(qreal)

Detailed Description

Member Type Documentation

Person::List

Member Function Documentation

Person::Person()

void Person::addExtendedAttribute(const QString &key, const QString &value)

QUrl Person::avatarUrl() const

See also setAvatarUrl().

QDate Person::birthday() const

See also setBirthday().

QString Person::city() const

See also setCity().

QString Person::country() const

See also setCountry().

QString Person::extendedAttribute(const QString &key) const

QMap<QString, QString> Person::extendedAttributes() const

QString Person::firstName() const

See also setFirstName().

QString Person::homepage() const

See also setHomepage().

QString Person::id() const

See also setId().

bool Person::isValid() const

QString Person::lastName() const

See also setLastName().

qreal Person::latitude() const

See also setLatitude().

qreal Person::longitude() const

See also setLongitude().

void Person::setAvatarUrl(const QUrl &)

See also avatarUrl().

void Person::setBirthday(const QDate &)

See also birthday().

void Person::setCity(const QString &)

See also city().

void Person::setCountry(const QString &)

See also country().

void Person::setFirstName(const QString &)

See also firstName().

void Person::setHomepage(const QString &)

See also homepage().

void Person::setId(const QString &)

See also id().

void Person::setLastName(const QString &)

See also lastName().

void Person::setLatitude(qreal)

See also latitude().

void Person::setLongitude(qreal)

See also longitude().