Ejemplo n.º 1
0
void SeasidePerson::setCompanyName(const QString &name)
{
    QContactOrganization companyNameDetail = mContact.detail<QContactOrganization>();
    companyNameDetail.setName(name);
    mContact.saveDetail(&companyNameDetail);
    emit companyNameChanged();
}
Ejemplo n.º 2
0
void Customer::setCompanyName(QString companyName)
{
	if (companyName != mCompanyName) {
		mCompanyName = companyName;
		emit companyNameChanged(companyName);
	}
}