2019-11-21 06:28:56 +00:00
|
|
|
|
#include "emailaddress.h"
|
|
|
|
|
|
|
|
|
|
EmailAddress::EmailAddress(const QString &address, const QString &name)
|
|
|
|
|
{
|
|
|
|
|
this->address = address;
|
|
|
|
|
this->name = name;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
EmailAddress::~EmailAddress()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void EmailAddress::setName(const QString &name)
|
|
|
|
|
{
|
|
|
|
|
this->name = name;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void EmailAddress::setAddress(const QString &address)
|
|
|
|
|
{
|
|
|
|
|
this->address = address;
|
|
|
|
|
}
|
|
|
|
|
|
2021-08-12 03:19:48 +00:00
|
|
|
|
const QString EmailAddress::getName() const
|
2019-11-21 06:28:56 +00:00
|
|
|
|
{
|
|
|
|
|
return name;
|
|
|
|
|
}
|
|
|
|
|
|
2021-08-12 03:19:48 +00:00
|
|
|
|
const QString EmailAddress::getAddress() const
|
2019-11-21 06:28:56 +00:00
|
|
|
|
{
|
2021-08-12 03:19:48 +00:00
|
|
|
|
return address;
|
2019-11-21 06:28:56 +00:00
|
|
|
|
}
|