You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
prodejna/camp/campservice.cpp

19 lines
428 B
C++

#include "campservice.h"
CampService::CampService()
{
}
void CampService::addPerson(CampDataPtr data, AddressbookDataPtr address)
{
AddressItemPtr addrItem(new AddressItem);
addrItem->setAdbItem(address);
addrItem->setAddress(address->toString());
addrItem->setFirstName(address->firstName());
addrItem->setLastName(address->lastName());
addrItem->setCampData(data);
data->addPerson(addrItem);
}