Attica::Person

Search for usage in LXR

Attica::Person Class Reference

#include <Attica/Person>

Public Types

typedef QList< PersonList
 

Public Member Functions

 Person (const Person &other)
 
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, QStringextendedAttributes () const
 
QString firstName () const
 
QString homepage () const
 
QString id () const
 
bool isValid () const
 
QString lastName () const
 
qreal latitude () const
 
qreal longitude () const
 
Personoperator= (const Person &other)
 
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

Represents a person.

Definition at line 28 of file person.h.

Member Typedef Documentation

◆ List

Definition at line 31 of file person.h.

Constructor & Destructor Documentation

◆ Person() [1/2]

Person::Person ( )

Definition at line 36 of file person.cpp.

◆ Person() [2/2]

Person::Person ( const Person & other)

Definition at line 41 of file person.cpp.

◆ ~Person()

Person::~Person ( )

Definition at line 52 of file person.cpp.

Member Function Documentation

◆ addExtendedAttribute()

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

Definition at line 155 of file person.cpp.

◆ avatarUrl()

QUrl Person::avatarUrl ( ) const

Definition at line 131 of file person.cpp.

◆ birthday()

QDate Person::birthday ( ) const

Definition at line 91 of file person.cpp.

◆ city()

QString Person::city ( ) const

Definition at line 151 of file person.cpp.

◆ country()

QString Person::country ( ) const

Definition at line 101 of file person.cpp.

◆ extendedAttribute()

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

Definition at line 160 of file person.cpp.

◆ extendedAttributes()

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

Definition at line 165 of file person.cpp.

◆ firstName()

QString Person::firstName ( ) const

Definition at line 71 of file person.cpp.

◆ homepage()

QString Person::homepage ( ) const

Definition at line 141 of file person.cpp.

◆ id()

QString Person::id ( ) const

Definition at line 61 of file person.cpp.

◆ isValid()

bool Person::isValid ( ) const

Definition at line 170 of file person.cpp.

◆ lastName()

QString Person::lastName ( ) const

Definition at line 81 of file person.cpp.

◆ latitude()

qreal Person::latitude ( ) const

Definition at line 111 of file person.cpp.

◆ longitude()

qreal Person::longitude ( ) const

Definition at line 121 of file person.cpp.

◆ operator=()

Person & Person::operator= ( const Person & other)

Definition at line 46 of file person.cpp.

◆ setAvatarUrl()

void Person::setAvatarUrl ( const QUrl & url)

Definition at line 126 of file person.cpp.

◆ setBirthday()

void Person::setBirthday ( const QDate & date)

Definition at line 86 of file person.cpp.

◆ setCity()

void Person::setCity ( const QString & h)

Definition at line 146 of file person.cpp.

◆ setCountry()

void Person::setCountry ( const QString & c)

Definition at line 96 of file person.cpp.

◆ setFirstName()

void Person::setFirstName ( const QString & name)

Definition at line 66 of file person.cpp.

◆ setHomepage()

void Person::setHomepage ( const QString & h)

Definition at line 136 of file person.cpp.

◆ setId()

void Person::setId ( const QString & u)

Definition at line 56 of file person.cpp.

◆ setLastName()

void Person::setLastName ( const QString & name)

Definition at line 76 of file person.cpp.

◆ setLatitude()

void Person::setLatitude ( qreal l)

Definition at line 106 of file person.cpp.

◆ setLongitude()

void Person::setLongitude ( qreal l)

Definition at line 116 of file person.cpp.


The documentation for this class was generated from the following files:
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.