Implemented first page of camp wizard.
This commit is contained in:
@@ -84,6 +84,11 @@ void CampData::addServiceItem(ServiceItemPtr serviceItem)
|
||||
m_services.append(serviceItem);
|
||||
}
|
||||
|
||||
void CampData::removeServiceItem(ServiceItemPtr serviceItem)
|
||||
{
|
||||
m_services.removeOne(serviceItem);
|
||||
}
|
||||
|
||||
QOdbList<AddressItemPtr> CampData::people() const
|
||||
{
|
||||
return m_people;
|
||||
@@ -99,6 +104,11 @@ void CampData::addPerson(AddressItemPtr person)
|
||||
m_people.append(person);
|
||||
}
|
||||
|
||||
void CampData::removePerson(AddressItemPtr person)
|
||||
{
|
||||
m_people.removeOne(person);
|
||||
}
|
||||
|
||||
QDecDouble CampData::totalPrice() const
|
||||
{
|
||||
return TO_DEC(m_totalPrice);
|
||||
|
||||
Reference in New Issue
Block a user