6 #include "models/imodel.h"
91 void setCity(
const QString &city);
114 void setEmail(
const QString &email);
125 void setPhone(
const QString &phone);
148 void setFax(
const QString &fax);
159 virtual void setImage(QPixmap *image);
222 QString _addressComplement;
228 QString _mobilePhone;
230 QString _extensionImage;
void setWebsite(const QString &website)
setWebsite Change the url of website
Definition: people.cpp:186
QString getWebsite() const
getWebsite Website of People
Definition: people.cpp:181
void setCompany(const QString &company)
People::setCompany Modify the People company name.
Definition: people.cpp:46
void setAddressComplement(const QString &addressComplement)
setAddressComplement Change the address complement
Definition: people.cpp:177
QString getPhone() const
People::getPhone Return the number of the desktop phone.
Definition: people.cpp:101
The IModel class.
Definition: imodel.h:13
bool operator!=(const People &c)
People::operator == Re-define the operator "!=" to compare if the current People is differnt to the o...
Definition: people.cpp:156
QString getAddress() const
People::getAddress Return the company addess (Number and name of street)
Definition: people.cpp:51
virtual void setImage(QPixmap *image)
People::setImage Modify the current compagny image by image
Definition: people.cpp:136
void setMobilePhone(const QString &mobilePhone)
People::setMobilePhone Modify the number of the professional People mobile phone mobilePhone ...
Definition: people.cpp:116
QPixmap * _image
Compagny image.
Definition: people.h:215
void setPostalCode(const QString &postalCode)
People::setPostalCode Modify the postal code postalCode
Definition: people.cpp:66
People()
People::People Construct a People.
Definition: people.cpp:6
QString getEmail() const
People::getEmail Return the People professional email
Definition: people.cpp:91
QString getLastname() const
People::getLastname Return the People lastname.
Definition: people.cpp:31
void setFax(const QString &fax)
People::setFax Replace the current fax number by fax
Definition: people.cpp:126
QString getFax() const
People::getFax Return the fax number.
Definition: people.cpp:121
void setFirstname(const QString &firstname)
People::setFirstnament Modify the People firstname
Definition: people.cpp:26
bool operator==(const People &c)
People::operator == Re-define the operator "==" to compare if the current People is the same to the o...
Definition: people.cpp:141
QString getCompany() const
People::getCompany Return the People company.
Definition: people.cpp:41
void setEmail(const QString &email)
People::setEmail Modify the People professional email
Definition: people.cpp:96
void setExtensionImage(const QString &ext)
People::setExtensionImage Change the extension of the image file by the new ext
Definition: people.cpp:166
QString getCity() const
People::getCity Return the city.
Definition: people.cpp:71
virtual QPixmap * getImage() const
People::getImage Return the compagny image.
Definition: people.cpp:131
QString getAddressComplement() const
getAddressComplement Return the address complement (Building, Appartment, …)
Definition: people.cpp:172
QString getPostalCode() const
People::getPostalCode Return the postal code.
Definition: people.cpp:61
QString getCountry() const
People::getCountry Return the country of the People.
Definition: people.cpp:81
The People class People.
Definition: people.h:12
void setLastname(const QString &lastname)
People::setLastname Modify the People lastname
Definition: people.cpp:36
QString getFirstname() const
People::getFirstname Return the People firstname.
Definition: people.cpp:21
QString getMobilePhone() const
People::getMobilePhone Return the number of the professional mobile phone.
Definition: people.cpp:111
void setPhone(const QString &phone)
People::setPhone Modify the number of the desktop phone
Definition: people.cpp:106
void setCountry(const QString &country)
People::setCountry Replace the country of the People by country
Definition: people.cpp:86
void setAddress(const QString &address)
People::setAddress Modify the People company address
Definition: people.cpp:56
QString getExtensionImage() const
People::getExtensionImage Return the extension of the image file.
Definition: people.cpp:161
void setCity(const QString &city)
People::setCity Modify the city
Definition: people.cpp:76